This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public function test_auth_passes($credentials = null)
4747
4848 $ connection = $ this ->getMockConnection ();
4949
50- $ connection ->expects ($ this ->exactly (2 ))->method ('isBound ' )->willReturn (true );
50+ $ connection ->expects ($ this ->exactly (1 ))->method ('isBound ' )->willReturn (true );
5151
5252 $ connection ->expects ($ this ->exactly (1 ))->method ('search ' )->willReturn ('resource ' );
5353
@@ -97,7 +97,7 @@ public function test_auth_fails_when_user_found()
9797
9898 $ connection = $ this ->getMockConnection (['getLastError ' , 'errNo ' ]);
9999
100- $ connection ->expects ($ this ->exactly (2 ))->method ('isBound ' )->willReturn (true );
100+ $ connection ->expects ($ this ->exactly (1 ))->method ('isBound ' )->willReturn (true );
101101
102102 $ connection ->expects ($ this ->exactly (1 ))->method ('search ' )->willReturn ('resource ' );
103103
@@ -236,7 +236,7 @@ public function test_config_password_sync_disabled()
236236
237237 $ connection = $ this ->getMockConnection ();
238238
239- $ connection ->expects ($ this ->exactly (2 ))->method ('isBound ' )->willReturn (true );
239+ $ connection ->expects ($ this ->exactly (1 ))->method ('isBound ' )->willReturn (true );
240240
241241 $ connection ->expects ($ this ->exactly (1 ))->method ('search ' )->willReturn ('resource ' );
242242
You can’t perform that action at this time.
0 commit comments