Skip to content

Commit

Permalink
Merge pull request #44 from Icinga/fix-test-warnings
Browse files Browse the repository at this point in the history
Fix test warnings
  • Loading branch information
nilmerg authored Oct 7, 2021
2 parents 4bae3fb + 7ec5278 commit a28c024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="vendor/autoload.php"
>
<testsuites>
Expand Down
5 changes: 2 additions & 3 deletions tests/ConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ public function testConstructSqliteConnection()
$this->assertTrue($db->getAdapter() instanceof Sqlite);
}

/**
* @expectedException InvalidArgumentException
*/
public function testConstructException()
{
$this->expectException(InvalidArgumentException::class);

new Connection(['db' => 'exception']);
}

Expand Down

0 comments on commit a28c024

Please sign in to comment.