Skip to content

Commit 7b22e24

Browse files
author
Eugene Ritter
committed
Update assertion for end to end test.
1 parent 5e335a8 commit 7b22e24

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/TestCase/Command/WorkerCommandTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ public function testQueueProcessesJob()
184184
$log = Log::engine('debug');
185185
$this->assertIsArray($log->read());
186186
$this->assertNotEmpty($log->read());
187-
$this->assertContains('info Welcome mail sent', $log->read());
187+
foreach ($log->read() as $line) {
188+
if (stripos($line, 'Welcome mail sent') !== false) {
189+
$this->assertTrue(true);
190+
}
191+
}
188192
}
189193
}

0 commit comments

Comments
 (0)