Skip to content

Commit

Permalink
Merge pull request #23 from adriansuter/patch-phpunit
Browse files Browse the repository at this point in the history
Patch phpunit
  • Loading branch information
adriansuter authored May 6, 2020
2 parents d8b63ba + cd62eea commit 337b263
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ vendor
coverage
cache/**
logs/**
.phpunit.result.cache
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.1/phpunit.xsd"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.5/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
Expand Down
5 changes: 2 additions & 3 deletions tests/Controllers/ExceptionDemoControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@

class ExceptionDemoControllerTest extends TestCase
{
/**
* @expectedException ErrorException
*/
public function testInvoke()
{
$this->expectException(ErrorException::class);

$exceptionDemoController = new ExceptionDemoController();

$serverRequest = $this->createMock(ServerRequestInterface::class);
Expand Down

0 comments on commit 337b263

Please sign in to comment.