Skip to content

Commit

Permalink
Exception difference between php 7.3 and 7.4, expect higher level Exc…
Browse files Browse the repository at this point in the history
…eption class in testing instead.
  • Loading branch information
danielme85 committed Oct 14, 2020
1 parent c8ac445 commit d40bce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/LogToDbTest.php
Expand Up @@ -141,7 +141,7 @@ public function testMissingConfig()
$this->expectException(DBLogException::class);
Log::info("Imma gonna faila?");

$this->expectException(InvalidArgumentException::class);
$this->expectException(Exception::class);
$logReader = LogToDB::model('spise', 'kebab', 'hverdag')->get()->toArray();
$this->assertEmpty($logReader);
}
Expand Down

0 comments on commit d40bce6

Please sign in to comment.