Merge pull request #9409 from tiller1010/patch-2

Update 02_FixtureFactories.md
This commit is contained in:
Robbie Averill 2020-02-18 13:43:32 +13:00 committed by GitHub
commit 4aade0a39a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,6 @@ with information that we need.
```php
use SilverStripe\Core\Injector\Injector;
use SilverStripe\Dev\SapphireTest;
use SilverStripe\Core\Injector\Injector;
@ -45,7 +44,7 @@ class MyObjectTest extends SapphireTest
echo $MyObjectObj->MyProperty;
// returns "My Default Value"
echo $myPageObj->MyOtherProperty;
echo $MyObjectObj->MyOtherProperty;
// returns "My Custom Value"
}
}