diff --git a/tests/joy/DeployTest.php b/tests/joy/DeployTest.php index 4e4ae53a2e..e62079d228 100644 --- a/tests/joy/DeployTest.php +++ b/tests/joy/DeployTest.php @@ -128,7 +128,7 @@ public function testIsUnlockedExitsWithOneWhenDeployIsLocked() $this->dep(self::RECIPE, 'deploy:is_locked'); $display = $this->tester->getDisplay(); - self::assertStringContainsString('Deploy is locked.', $display); + self::assertStringContainsString('Deploy is locked by ', $display); self::assertSame(1, $this->tester->getStatusCode()); }