diff options
Diffstat (limited to 'tests/Unit/Db/NewsMapperTest.php')
-rw-r--r-- | tests/Unit/Db/NewsMapperTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Unit/Db/NewsMapperTest.php b/tests/Unit/Db/NewsMapperTest.php index b6d4422c2..5d75f740f 100644 --- a/tests/Unit/Db/NewsMapperTest.php +++ b/tests/Unit/Db/NewsMapperTest.php @@ -193,7 +193,7 @@ class NewsMapperTest extends TestCase $qb->expects($this->once()) ->method('setParameter') - ->with(':user_id', 'jack') + ->with('user_id', 'jack') ->will($this->returnSelf()); $qb->expects($this->once()) @@ -226,7 +226,7 @@ class NewsMapperTest extends TestCase $qb->expects($this->once()) ->method('setParameter') - ->with(':deleted_at', 1) + ->with('deleted_at', 1) ->will($this->returnSelf()); $qb->expects($this->once()) @@ -259,7 +259,7 @@ class NewsMapperTest extends TestCase $qb->expects($this->exactly(2)) ->method('setParameter') - ->withConsecutive([':user_id', 'jack'], [':deleted_at', 1]) + ->withConsecutive(['user_id', 'jack'], ['deleted_at', 1]) ->will($this->returnSelf()); $qb->expects($this->once()) |