You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Unit/Expressions/ForClasses/ExtendTest.php
+17-2Lines changed: 17 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ public function test_it_should_return_violation_error_when_class_not_extend(): v
70
70
$extend->evaluate($classDescription, $violations, 'we want to add this rule for our software');
71
71
72
72
self::assertEquals(1, $violations->count());
73
-
self::assertEquals('should extend My\BaseClass because we want to add this rule for our software', $violations->get(0)->getError());
73
+
self::assertEquals('should extend one of these classes: My\BaseClass because we want to add this rule for our software', $violations->get(0)->getError());
self::assertEquals('should not extend one of these classes: My\FirstExtend, My\SecondExtend because we want to add this rule for our software', $violationError);
0 commit comments