From 9f880c2923959d4a8a6ad9204d4ba521b1b46b34 Mon Sep 17 00:00:00 2001 From: diosmosis Date: Fri, 28 Nov 2014 16:08:36 -0800 Subject: [PATCH] Fixing failing test. --- tests/Integration/Commands/SynchronizeUsersTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Integration/Commands/SynchronizeUsersTest.php b/tests/Integration/Commands/SynchronizeUsersTest.php index ab6784ce..37ec8e2f 100644 --- a/tests/Integration/Commands/SynchronizeUsersTest.php +++ b/tests/Integration/Commands/SynchronizeUsersTest.php @@ -120,7 +120,8 @@ public function test_CommandSkipsExisitingUsers_IfSkipExistingOptionUsed() $this->assertEquals(0, $result, $this->getCommandDisplayOutputErrorMessage()); $this->assertContains("Skipping 'captainamerica', already exists in Piwik...", $this->applicationTester->getDisplay()); - $this->assertStarkSynchronized(); + $users = $this->getLdapUserLogins(); + $this->assertEquals(array('ironman'), $users); } private function getLdapUserLogins()