diff --git a/tests/WPMessageDismissListenerTest.php b/tests/WPMessageDismissListenerTest.php index 84fcb35..58f8f52 100644 --- a/tests/WPMessageDismissListenerTest.php +++ b/tests/WPMessageDismissListenerTest.php @@ -36,7 +36,7 @@ public function testDismiss( $action, $nonce, $verifyNonceTimes, $isCorrectNonce $_GET['nonce'] = $nonce; $dismisser->expects( $this->exactly( $verifyNonceTimes ) ) - ->method( 'verify_nonce' ) + ->method( 'verifyNonce' ) ->with( $nonce, $action ) ->willReturn( $isCorrectNonce );