diff --git a/tests/unit/Repository/RepositoryAbstractTest.php b/tests/unit/Repository/RepositoryAbstractTest.php index 593b650..e4b5fec 100644 --- a/tests/unit/Repository/RepositoryAbstractTest.php +++ b/tests/unit/Repository/RepositoryAbstractTest.php @@ -89,4 +89,4 @@ public function getStorage() { return $this->storage; } -} \ No newline at end of file +} diff --git a/tests/unit/Storage/ORM/RespectRelationalTest.php b/tests/unit/Storage/ORM/RespectRelationalTest.php index ee45b99..d7f10fd 100644 --- a/tests/unit/Storage/ORM/RespectRelationalTest.php +++ b/tests/unit/Storage/ORM/RespectRelationalTest.php @@ -59,6 +59,9 @@ public function testSetRepositoryWithInvalidValueShouldThrowAndException() $instance->setRepository(''); } + /** + * @depends testSetRepositoryWithInvalidValueShouldThrowAndException + */ public function testSetRepositoryWithAValidNamespaceShouldWork() { $instance = new RespectRelational($this->mapper); @@ -96,4 +99,4 @@ public function testGetRepositoryShouldReturnMockedInstance() 'The attribute repository is not instance of the string class name: Respect\Data\Collections\Collection' ); } -} \ No newline at end of file +}