Commit 4417991f authored by Erick Hitter's avatar Erick Hitter
Browse files

`void` return type didn't come until 7.1

parent ae5a6ee8
Pipeline #2915 failed with stages
in 2 minutes and 30 seconds
......@@ -37,7 +37,7 @@ class PostFilters extends WP_UnitTestCase {
/**
* Prepare data for tests.
*/
public function setUp(): void {
public function setUp() {
parent::setUp();
static::$post_id = $this->factory->post->create(
......@@ -53,7 +53,7 @@ class PostFilters extends WP_UnitTestCase {
/**
* Test retrieving page 1 content.
*/
public function test_view_page_1(): void {
public function test_view_page_1() {
query_posts(
array(
'p' => static::$post_id,
......@@ -72,7 +72,7 @@ class PostFilters extends WP_UnitTestCase {
/**
* Test retrieving page 2 content.
*/
public function test_view_page_2(): void {
public function test_view_page_2() {
query_posts(
array(
'p' => static::$post_id,
......@@ -92,7 +92,7 @@ class PostFilters extends WP_UnitTestCase {
/**
* Test retrieving page 3 content.
*/
public function test_view_page_3(): void {
public function test_view_page_3() {
query_posts(
array(
'p' => static::$post_id,
......@@ -112,7 +112,7 @@ class PostFilters extends WP_UnitTestCase {
/**
* Test retrieving "view all" contents.
*/
public function test_view_all(): void {
public function test_view_all() {
query_posts(
array(
'p' => static::$post_id,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment