Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit b10b3ff

Browse files
committed
fix log
1 parent fb35d6d commit b10b3ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/LoggingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ class LoggingTest extends TestCase
1515
/** @test */
1616
public function testMapperCanLog()
1717
{
18-
Log::shouldReceive('error')
18+
Log::shouldReceive('log')
1919
->once()
20-
->withArgs(function ($message) {
20+
->withArgs(function ($level, $message) {
2121
return str_contains($message, 'Cannot assign');
2222
});
2323

0 commit comments

Comments
 (0)