Fix WC_Logger::add test to match new 'notice' level.

This commit is contained in:
Jon Surrell 2016-12-19 07:57:54 +01:00
parent feefabbdf0
commit 065277a596
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class WC_Tests_Logger extends WC_Unit_Test_Case {
->method( 'handle' ) ->method( 'handle' )
->with( ->with(
$this->greaterThanOrEqual( $time ), $this->greaterThanOrEqual( $time ),
$this->equalTo( 'info' ), $this->equalTo( 'notice' ),
$this->equalTo( 'this is a message' ), $this->equalTo( 'this is a message' ),
$this->equalTo( array( 'tag' => 'unit-tests', '_legacy' => true ) ) $this->equalTo( array( 'tag' => 'unit-tests', '_legacy' => true ) )
); );