mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
fb09e0b65f
commit
12c2edc1d5
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user