BUG fix config rules to match updated Except

This commit is contained in:
Damian Mooyman 2017-07-21 15:02:27 +12:00
parent 6a3c51e072
commit 2385b73855
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
2 changed files with 4 additions and 4 deletions

View File

@ -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(

View File

@ -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