diff --git a/tests/test-admin-callbacks.php b/tests/test-admin-callbacks.php
index 830213996d59fb3bb8f375e5b3f143aed0f2c9e0..f3073e1c5b06c12999418e3d740663738d71d1fa 100755
--- a/tests/test-admin-callbacks.php
+++ b/tests/test-admin-callbacks.php
@@ -65,10 +65,10 @@ class AdminCallbacks extends WP_UnitTestCase {
 		$this->plugin->meta_box( get_post( $this->post_id ) );
 		$meta_box_contents = ob_get_clean();
 
-		$this->assertContains( 'value="' . $this->nonce . '"', $meta_box_contents );
+		$this->assertStringContainsString( 'value="' . $this->nonce . '"', $meta_box_contents );
 
 		foreach ( array_keys( $this->plugin->status_codes ) as $code ) {
-			$this->assertContains( 'value="' . $code . '"', $meta_box_contents );
+			$this->assertStringContainsString( 'value="' . $code . '"', $meta_box_contents );
 		}
 	}
 
@@ -82,7 +82,7 @@ class AdminCallbacks extends WP_UnitTestCase {
 
 		$this->plugin->action_save_post( $this->post_id );
 
-		$this->assertEquals( static::DESTINATION, get_post_meta( $this->post_id, $this->plugin->meta_key_target, true ) );
-		$this->assertEquals( static::TYPE, get_post_meta( $this->post_id, $this->plugin->meta_key_type, true ) );
+		$this->assertStringContainsString( static::DESTINATION, get_post_meta( $this->post_id, $this->plugin->meta_key_target, true ) );
+		$this->assertStringContainsString( static::TYPE, get_post_meta( $this->post_id, $this->plugin->meta_key_type, true ) );
 	}
 }
diff --git a/tests/test-permalink-filters.php b/tests/test-permalink-filters.php
index 26284004590b79a769e35f19b2f463490da6f997..ea3f2e40c6a970b7f33b6a1b5603277c45911b07 100755
--- a/tests/test-permalink-filters.php
+++ b/tests/test-permalink-filters.php
@@ -32,7 +32,7 @@ class PermalinkFilters extends WP_UnitTestCase {
 	 * Create some objects with redirects.
 	 */
 	public function set_up() {
-		parent::set_u();
+		parent::set_up();
 
 		$plugin = external_permalinks_redux::get_instance();