mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG fix config rules to match updated Except
This commit is contained in:
parent
6a3c51e072
commit
2385b73855
@ -210,9 +210,9 @@ class ConfigManifestTest extends SapphireTest
|
||||
'Fragment is included if both Only rules succeed.'
|
||||
);
|
||||
|
||||
$this->assertTrue(
|
||||
isset($config['TwoExceptSucceed']),
|
||||
'Fragment is included if one of the Except rules matches.'
|
||||
$this->assertFalse(
|
||||
isset($config['OneExceptFail']),
|
||||
'Fragment is not included if one of the Except rules fails.'
|
||||
);
|
||||
|
||||
$this->assertFalse(
|
||||
|
@ -21,7 +21,7 @@ Except:
|
||||
---
|
||||
SilverStripe\Core\Tests\Manifest\ConfigManifestTest:
|
||||
MultipleRules:
|
||||
TwoExceptSucceed: "included - one of the excepts succeeds"
|
||||
OneExceptFail: "excluded - one of the excepts fails"
|
||||
---
|
||||
Except:
|
||||
ConstantDefined: MULTIPLERULES_DEFINEDCONSTANT
|
||||
|
Loading…
Reference in New Issue
Block a user