Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
0xb4lint authored and StyleCIBot committed Feb 13, 2018
1 parent c62cd8d commit 8aa0117
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Feature/Json/ProgramsJsonTest.php
Expand Up @@ -117,12 +117,12 @@ protected function checkCourseJsonStructure($path, $course)
);

$this->assertTrue(
!isset($course->prerequisites) || is_array($course->prerequisites),
! isset($course->prerequisites) || is_array($course->prerequisites),
$path.' prerequisites !isset || is_array - '.json_encode($course, JSON_UNESCAPED_UNICODE)
);

$this->assertTrue(
!isset($course->course_block_references) || is_array($course->course_block_references),
! isset($course->course_block_references) || is_array($course->course_block_references),
$path.' course_block_references !isset || is_array - '.json_encode($course, JSON_UNESCAPED_UNICODE)
);
}
Expand All @@ -135,7 +135,7 @@ protected function checkCoursePrerequisites($path, $course, $data)

$this->assertTrue(
$this->checkCourseCodeExists($code, $data),
$path.' prerequisite invalid: ' . $code . ' - '.json_encode($course, JSON_UNESCAPED_UNICODE)
$path.' prerequisite invalid: '.$code.' - '.json_encode($course, JSON_UNESCAPED_UNICODE)
);
}
}
Expand All @@ -147,7 +147,7 @@ protected function checkCourseCourseBlockReferences($path, $course, $data)
foreach ($course->course_block_references as $courseBlockReference) {
$this->assertTrue(
$this->checkCourseBlockNameExists($courseBlockReference, $data),
$path.' course_block_reference invalid: ' . $courseBlockReference . ' - '.json_encode($course, JSON_UNESCAPED_UNICODE)
$path.' course_block_reference invalid: '.$courseBlockReference.' - '.json_encode($course, JSON_UNESCAPED_UNICODE)
);
}
}
Expand Down

0 comments on commit 8aa0117

Please sign in to comment.