diff --git a/phpunit.xml b/phpunit.xml
index 16a39027e72be2cf0a2656056074b6e6ed818be1..99b659cb417cd03685670dfa992370f6e380e6e6 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -8,7 +8,7 @@
 	convertWarningsToExceptions="true"
 	>
 	<testsuites>
-		<testsuite>
+		<testsuite name="view-all-posts-pages">
 			<directory prefix="test-" suffix=".php">./tests/</directory>
 			<exclude>./tests/test-sample.php</exclude>
 		</testsuite>
diff --git a/tests/test-post-filters.php b/tests/test-post-filters.php
index d886d036c99e5275b8bb500bfc53457638bf39a8..ae70028da783a2533fd3765aa6ddf120c70ffa14 100755
--- a/tests/test-post-filters.php
+++ b/tests/test-post-filters.php
@@ -37,8 +37,8 @@ class PostFilters extends WP_UnitTestCase {
 	/**
 	 * Prepare data for tests.
 	 */
-	public function setUp() {
-		parent::setUp();
+	public function set_up() {
+		parent::set_up();
 
 		static::$post_id = $this->factory->post->create(
 			array(
@@ -128,7 +128,7 @@ class PostFilters extends WP_UnitTestCase {
 			$content = get_the_content();
 
 			foreach ( static::$pages_content as $page => $text ) {
-				$this->assertContains( $text, $content, "Failed to assert that content contained page {$page}." );
+				$this->assertStringContainsString( $text, $content, "Failed to assert that content contained page {$page}." );
 			}
 		}
 	}