Skip to content

Commit

Permalink
Fix failing test for unregistered provider
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Oct 21, 2021
1 parent c2553bc commit 1c02d77
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public function test_is_valid_schema_with_valid( array $webfont ) {
* @param array $webfont Webfont input.
*/
public function test_is_unregistered_schema_provider( array $webfont ) {
$this->expectNotice();
$this->expectNoticeMessage( 'Webfont provider is not registered.' );
$this->assertFalse( self::$validator->is_valid_schema( $webfont ) );
}

Expand Down

0 comments on commit 1c02d77

Please sign in to comment.