From 065277a5968cb461c5aa73dfecf525d105b12a02 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Mon, 19 Dec 2016 07:57:54 +0100 Subject: [PATCH] Fix WC_Logger::add test to match new 'notice' level. --- tests/unit-tests/log/logger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-tests/log/logger.php b/tests/unit-tests/log/logger.php index d002a400aca..2cfe8ac8ebf 100644 --- a/tests/unit-tests/log/logger.php +++ b/tests/unit-tests/log/logger.php @@ -41,7 +41,7 @@ class WC_Tests_Logger extends WC_Unit_Test_Case { ->method( 'handle' ) ->with( $this->greaterThanOrEqual( $time ), - $this->equalTo( 'info' ), + $this->equalTo( 'notice' ), $this->equalTo( 'this is a message' ), $this->equalTo( array( 'tag' => 'unit-tests', '_legacy' => true ) ) );