diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-16 20:02:30 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-16 20:02:30 +0100 |
commit | 8a58ff0fdf7f8c6e576475c882aa8bc2fe31125b (patch) | |
tree | aede35f102302049a9bf05e786421a17474be546 | |
parent | 8689fe1a2eda9bfc0a870e893a71bee634ed986b (diff) | |
download | nextcloud-server-8a58ff0fdf7f8c6e576475c882aa8bc2fe31125b.tar.gz nextcloud-server-8a58ff0fdf7f8c6e576475c882aa8bc2fe31125b.zip |
fix tests
-rw-r--r-- | tests/lib/user/session.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/lib/user/session.php b/tests/lib/user/session.php index fb263d876b8..4dc7f29c5b8 100644 --- a/tests/lib/user/session.php +++ b/tests/lib/user/session.php @@ -63,10 +63,8 @@ class Session extends \Test\TestCase { ->will($this->returnValue(null)); $backend = $this->getMock('OC_User_Dummy'); - $backend->expects($this->once()) - ->method('userExists') - ->with('foo') - ->will($this->returnValue(true)); + $backend->expects($this->never()) + ->method('userExists'); $manager = new \OC\User\Manager(); $manager->registerBackend($backend); |