Fix DeprecationTest

The $project use has changed in 3873e4ba00.
The test isn't really reliant on $project anyway,
it just tests that any other module identifier
doesn't interfere with core notification settings.
This commit is contained in:
Ingo Schommer 2017-06-23 10:21:08 +12:00
parent fb09e0b65f
commit 12c2edc1d5

View File

@ -61,8 +61,7 @@ class DeprecationTest extends SapphireTest
public function testNonMatchingModuleNotifcationVersionDoesntAffectNotice()
{
Deprecation::notification_version('1.0.0');
global $project;
Deprecation::notification_version('3.0.0', $project);
Deprecation::notification_version('3.0.0', 'my-unrelated-module');
$this->callThatOriginatesFromFramework();
}