Skip to content

Commit 5d87edb

Browse files
jrfnlgrogy
authored andcommitted
SettingsParseArgumentsTest: fix bug in test
The `SettingsParseArgumentsTest::testMoreArguments()` method was assigning to a non-existent property in the `Settings` class. The actual property is called `$showDeprecated` and the assertion was referring to the property correctly.
1 parent 6562ec5 commit 5d87edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Settings.parseArguments.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class SettingsParseArgumentsTest extends Tester\TestCase
5858
$expectedSettings->colors = Settings::DISABLED;
5959
$expectedSettings->showProgress = true;
6060
$expectedSettings->format = Settings::FORMAT_TEXT;
61-
$expectedSettings->deprecated = false;
61+
$expectedSettings->showDeprecated = false;
6262

6363
Assert::equal($expectedSettings->shortTag, $settings->shortTag);
6464
Assert::equal($expectedSettings->aspTags, $settings->aspTags);

0 commit comments

Comments
 (0)