Skip to content

Commit

Permalink
Removed deprecation test
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-eugone committed Dec 6, 2023
1 parent 4c3dfad commit 5e2f32e
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,16 +345,6 @@ public function queries(): Generator

public function testCreateSchemaDeprecated(): void
{
\set_error_handler(
static function () {
\restore_error_handler();
throw new \Exception('Deprecation caught');
},
E_DEPRECATED,
);
$this->expectException(\Exception::class);
$this->expectExceptionMessageMatches('Deprecation caught');

$storage = $this->createStorage();
$storage->createSchema();
}
Expand Down

0 comments on commit 5e2f32e

Please sign in to comment.