Index: /trunk/tests/phpunit/tests/pomo/pluralForms.php
===================================================================
--- /trunk/tests/phpunit/tests/pomo/pluralForms.php	(revision 63302)
+++ /trunk/tests/phpunit/tests/pomo/pluralForms.php	(revision 63303)
@@ -234,5 +234,5 @@
 			->method( 'execute' )
 			->with( $this->identicalTo( 2 ) )
-			->will( $this->returnValue( 1 ) );
+			->willReturn( 1 );
 
 		$first  = $mock->get( 2 );
Index: /trunk/tests/phpunit/tests/rest-api/rest-server.php
===================================================================
--- /trunk/tests/phpunit/tests/rest-api/rest-server.php	(revision 63302)
+++ /trunk/tests/phpunit/tests/rest-api/rest-server.php	(revision 63303)
@@ -653,5 +653,5 @@
 		$stub->expects( $this->once() )
 			->method( 'set_status' )
-			->with( $this->equalTo( 400 ) );
+			->with( 400 );
 
 		$data     = array(
