Skip to content

Commit 998adfb

Browse files
committed
Fix a few tests to new moodle.Files.BoilerplateComment sniff
1 parent 0b9fe3a commit 998adfb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/behat/ui.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Feature: Codechecker UI works as expected
4242
| local/codechecker/tests | */tests/fixtures/* | Files found: 3 | Invalid path |
4343
| local/codechecker/tests/ | *one*, *moodle_* | Files found: 10 | Invalid path |
4444
| local/codechecker/tests | */tests/fixtures/* | locallib_test.php | problem.php |
45-
| local/codechecker/tests/ | *moodle_* | Line 1 of the opening comment | moodle_php |
45+
| local/codechecker/tests/ | *moodle_* | not found at first line | moodle_php |
4646
| local/codechecker/tests/ | *moodle_* | fixtures/behat/phpcompat | /moodle_php |
4747
| local/codechecker/tests/ | *PHPC*, *moodle_* | Inline comments must end | /phpcompat |
4848

@@ -81,8 +81,8 @@ Feature: Codechecker UI works as expected
8181
And I set the field "Path(s) to check" to "local/codechecker/tests/fixtures/behat/problem.php"
8282
And I set the field "Display phpcs standard associated with a problem" to "1"
8383
When I press "Check code"
84-
Then I should see "moodle.Files.BoilerplateComment.WrongWhitespace"
84+
Then I should see "moodle.Files.BoilerplateComment.NotAtFirstLine"
8585
And I set the field "Display phpcs standard associated with a problem" to "0"
8686
And I press "Check code"
87-
And I should not see "moodle.Files.BoilerplateComment.WrongWhitespace"
87+
And I should not see "moodle.Files.BoilerplateComment.NotAtFirstLine"
8888
And I log out

0 commit comments

Comments
 (0)