diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Db/NewsMapperTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Unit/Db/NewsMapperTest.php b/tests/Unit/Db/NewsMapperTest.php index c7ce7342a..aa1be5989 100644 --- a/tests/Unit/Db/NewsMapperTest.php +++ b/tests/Unit/Db/NewsMapperTest.php @@ -169,7 +169,7 @@ class NewsMapperTest extends TestCase ->will($this->returnSelf()); $qb->expects($this->once()) - ->method('execute'); + ->method('executeStatement'); $result = $this->class->purgeDeleted(null, null); } @@ -202,7 +202,7 @@ class NewsMapperTest extends TestCase ->will($this->returnSelf()); $qb->expects($this->once()) - ->method('execute'); + ->method('executeStatement'); $result = $this->class->purgeDeleted('jack', null); } @@ -235,7 +235,7 @@ class NewsMapperTest extends TestCase ->will($this->returnSelf()); $qb->expects($this->once()) - ->method('execute'); + ->method('executeStatement'); $result = $this->class->purgeDeleted(null, 1); } @@ -268,7 +268,7 @@ class NewsMapperTest extends TestCase ->will($this->returnSelf()); $qb->expects($this->once()) - ->method('execute'); + ->method('executeStatement'); $result = $this->class->purgeDeleted('jack', 1); } |