mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
remove manually added config values in test
This commit is contained in:
parent
c0722308af
commit
1dbb2bc5ba
@ -717,21 +717,6 @@ PHP;
|
|||||||
// note: Disable _fakewebroot manifest for this test
|
// note: Disable _fakewebroot manifest for this test
|
||||||
$this->popManifests();
|
$this->popManifests();
|
||||||
|
|
||||||
// update config because test can't load config from actual class
|
|
||||||
Config::inst()->update(TestDataObject::class, 'db', [
|
|
||||||
'MyProperty' => 'Varchar',
|
|
||||||
'MyUntranslatedProperty' => 'Text'
|
|
||||||
]);
|
|
||||||
Config::inst()->update(TestDataObject::class, 'has_one', [
|
|
||||||
'HasOneRelation' => Member::class
|
|
||||||
]);
|
|
||||||
Config::inst()->update(TestDataObject::class, 'has_many', [
|
|
||||||
'HasManyRelation' => Member::class
|
|
||||||
]);
|
|
||||||
Config::inst()->update(TestDataObject::class, 'many_many', [
|
|
||||||
'ManyManyRelation' => Member::class
|
|
||||||
]);
|
|
||||||
|
|
||||||
$c = i18nTextCollector::create();
|
$c = i18nTextCollector::create();
|
||||||
|
|
||||||
// Collect from MyObject.php
|
// Collect from MyObject.php
|
||||||
|
Loading…
Reference in New Issue
Block a user