diff options
author | anoy <anoymouserver+github@mailbox.org> | 2021-01-09 18:19:24 +0100 |
---|---|---|
committer | anoy <anoymouserver@users.noreply.github.com> | 2021-01-11 09:32:23 +0100 |
commit | 8de3ad77fc9e445353cd0861931b2215d9f24859 (patch) | |
tree | d0ef44d6255e7890e334eab432ea426e1274f676 /tests/Unit/Db/FeedMapperTest.php | |
parent | 7e549fd8acd95d5b63bedb356d4147498f24a93d (diff) |
remove deprecated colon prefix for parameters
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
Diffstat (limited to 'tests/Unit/Db/FeedMapperTest.php')
-rw-r--r-- | tests/Unit/Db/FeedMapperTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Unit/Db/FeedMapperTest.php b/tests/Unit/Db/FeedMapperTest.php index 59e1440fb..a6a4be866 100644 --- a/tests/Unit/Db/FeedMapperTest.php +++ b/tests/Unit/Db/FeedMapperTest.php @@ -109,7 +109,7 @@ class FeedMapperTest extends MapperTestUtility $this->builder->expects($this->exactly(2)) ->method('setParameter') - ->withConsecutive([':unread', true], [':user_id', 'jack']) + ->withConsecutive(['unread', true], ['user_id', 'jack']) ->will($this->returnSelf()); $this->builder->expects($this->once()) @@ -159,7 +159,7 @@ class FeedMapperTest extends MapperTestUtility $this->builder->expects($this->exactly(2)) ->method('setParameter') - ->withConsecutive([':user_id', 'jack'], [':id', 1]) + ->withConsecutive(['user_id', 'jack'], ['id', 1]) ->will($this->returnSelf()); $this->builder->expects($this->once()) @@ -208,7 +208,7 @@ class FeedMapperTest extends MapperTestUtility $this->builder->expects($this->exactly(2)) ->method('setParameter') - ->withConsecutive([':user_id', 'jack'], [':id', 1]) + ->withConsecutive(['user_id', 'jack'], ['id', 1]) ->will($this->returnSelf()); $this->builder->expects($this->once()) @@ -256,7 +256,7 @@ class FeedMapperTest extends MapperTestUtility $this->builder->expects($this->exactly(2)) ->method('setParameter') - ->withConsecutive([':user_id', 'jack'], [':url', 'https://url.com']) + ->withConsecutive(['user_id', 'jack'], ['url', 'https://url.com']) ->will($this->returnSelf()); $this->builder->expects($this->once()) @@ -306,7 +306,7 @@ class FeedMapperTest extends MapperTestUtility $this->builder->expects($this->exactly(2)) ->method('setParameter') - ->withConsecutive([':user_id', 'jack'], [':id', 1]) + ->withConsecutive(['user_id', 'jack'], ['id', 1]) ->will($this->returnSelf()); $this->builder->expects($this->once()) @@ -390,7 +390,7 @@ class FeedMapperTest extends MapperTestUtility $this->builder->expects($this->exactly(1)) ->method('setParameter') - ->withConsecutive([':folder_id', 1]) + ->withConsecutive(['folder_id', 1]) ->will($this->returnSelf()); $this->builder->expects($this->once()) |