Skip to content

Commit

Permalink
expectException() is not static
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jan 25, 2020
1 parent fed9062 commit 0996574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ public function testEmptySelect() : void
self::assertSame($qb, $qb2);
self::assertEquals(QueryBuilder::SELECT, $qb->getType());

self::expectException(QueryException::class);
$this->expectException(QueryException::class);
$qb->getSQL();
}

Expand Down

0 comments on commit 0996574

Please sign in to comment.