diff --git a/tests/src/Console/LockConsoleTest.php b/tests/src/Console/LockConsoleTest.php index 51c05b5c37..dddc9daff1 100644 --- a/tests/src/Console/LockConsoleTest.php +++ b/tests/src/Console/LockConsoleTest.php @@ -68,7 +68,7 @@ class LockConsoleTest extends ConsoleTest public function testDelLock() { $this->lockMock - ->shouldReceive('releaseLock') + ->shouldReceive('release') ->with('test', true) ->andReturn(true) ->once(); @@ -83,7 +83,7 @@ class LockConsoleTest extends ConsoleTest public function testDelUnknownLock() { $this->lockMock - ->shouldReceive('releaseLock') + ->shouldReceive('release') ->with('test', true) ->andReturn(false) ->once(); @@ -103,7 +103,7 @@ class LockConsoleTest extends ConsoleTest ->andReturn(false) ->once(); $this->lockMock - ->shouldReceive('acquireLock') + ->shouldReceive('acquire') ->with('test') ->andReturn(true) ->once(); @@ -138,7 +138,7 @@ class LockConsoleTest extends ConsoleTest ->andReturn(false) ->once(); $this->lockMock - ->shouldReceive('acquireLock') + ->shouldReceive('acquire') ->with('test') ->andReturn(false) ->once();