From aa85edd2242c696954c64799e7880f7a3d39ca83 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 28 Apr 2016 11:59:26 +0200 Subject: increase token column width add some range to time() assertions --- tests/lib/user/session.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/user') diff --git a/tests/lib/user/session.php b/tests/lib/user/session.php index ca03e62c3a6..ab252357d85 100644 --- a/tests/lib/user/session.php +++ b/tests/lib/user/session.php @@ -59,7 +59,7 @@ class Session extends \Test\TestCase { ->will($this->returnValue(true)); $session->expects($this->at(2)) ->method('set') - ->with('last_login_check', time()); + ->with('last_login_check', $this->equalTo(time(), 10)); $session->expects($this->at(3)) ->method('get') @@ -70,7 +70,7 @@ class Session extends \Test\TestCase { ->with($token); $session->expects($this->at(4)) ->method('set') - ->with('last_token_update', time()); + ->with('last_token_update', $this->equalTo(time(), 10)); $manager->expects($this->any()) ->method('get') -- cgit v1.2.3