diff --git a/tests/DoctrineTest.php b/tests/DoctrineTest.php index 2bf6309..d2f1d6a 100644 --- a/tests/DoctrineTest.php +++ b/tests/DoctrineTest.php @@ -20,6 +20,7 @@ * This is doctrine test class. * * @author Michael Bodnarchuk + * @author Graham Campbell */ class DoctrineTest extends AbstractTestCase { @@ -120,7 +121,7 @@ public function testCatProperties() public function testSavedObjects() { $reflection = new ReflectionClass(static::$fm); - $store = $reflection->getProperty('modelStore'); + $store = $reflection->getProperty('store'); $store->setAccessible(true); $value = $store->getValue(static::$fm); diff --git a/tests/EloquentTest.php b/tests/EloquentTest.php index b41878a..13b10d4 100644 --- a/tests/EloquentTest.php +++ b/tests/EloquentTest.php @@ -105,7 +105,7 @@ public function testCatProperties() public function testSavedObjects() { $reflection = new ReflectionClass(static::$fm); - $store = $reflection->getProperty('modelStore'); + $store = $reflection->getProperty('store'); $store->setAccessible(true); $value = $store->getValue(static::$fm); diff --git a/tests/SaveAndDeleteTest.php b/tests/SaveAndDeleteTest.php index 878c734..7e8a9ae 100644 --- a/tests/SaveAndDeleteTest.php +++ b/tests/SaveAndDeleteTest.php @@ -28,7 +28,7 @@ public function testShouldCreateAndDelete() { $obj = static::$fm->create('ModelThatWillSaveStub'); $reflection = new ReflectionClass(static::$fm); - $store = $reflection->getProperty('modelStore'); + $store = $reflection->getProperty('store'); $store->setAccessible(true); $value = $store->getValue(static::$fm); @@ -45,7 +45,7 @@ public function testShouldNotSave() { $obj = static::$fm->instance('ModelThatWillSaveStub'); $reflection = new ReflectionClass(static::$fm); - $store = $reflection->getProperty('modelStore'); + $store = $reflection->getProperty('store'); $store->setAccessible(true); $value = $store->getValue(static::$fm);