From f9b2574fb89d2f9eb338b75dfdb172e0dd0d1bd9 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 20 Feb 2017 17:29:31 +0100 Subject: [PATCH] also adjust version no in unit tests Signed-off-by: Arthur Schiwon --- apps/user_ldap/tests/Migration/UUIDFixInsertTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php b/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php index a5f7ea50175..8533fb62e8d 100644 --- a/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php +++ b/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php @@ -118,8 +118,8 @@ class UUIDFixInsertTest extends TestCase { public function testRun($userBatches, $groupBatches) { $this->config->expects($this->once()) ->method('getAppValue') - ->with('user_ldap', 'installed_version', '1.2.1') - ->willReturn('1.2.0'); + ->with('user_ldap', 'installed_version', '1.1.2') + ->willReturn('1.1.1'); $this->userMapper->expects($this->exactly(3)) ->method('getList') @@ -145,8 +145,8 @@ class UUIDFixInsertTest extends TestCase { public function testRunWithManyAndNone($userBatches, $groupBatches) { $this->config->expects($this->once()) ->method('getAppValue') - ->with('user_ldap', 'installed_version', '1.2.1') - ->willReturn('1.2.0'); + ->with('user_ldap', 'installed_version', '1.1.2') + ->willReturn('1.1.1'); $this->userMapper->expects($this->exactly(5)) ->method('getList') @@ -179,8 +179,8 @@ class UUIDFixInsertTest extends TestCase { public function testDonNotRun() { $this->config->expects($this->once()) ->method('getAppValue') - ->with('user_ldap', 'installed_version', '1.2.1') - ->willReturn('1.2.1'); + ->with('user_ldap', 'installed_version', '1.1.2') + ->willReturn('1.1.2'); $this->userMapper->expects($this->never()) ->method('getList'); $this->groupMapper->expects($this->never())