Skip to content
Snippets Groups Projects
Commit 2fb0575e authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix tests for PHP 8

parent df136273
No related branches found
No related tags found
1 merge request!13Fix tests for PHP 8
Pipeline #4792 passed with stages
in 5 minutes and 34 seconds
......@@ -83,6 +83,6 @@ class AdminCallbacks extends WP_UnitTestCase {
$this->plugin->action_save_post( $this->post_id );
$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 ) );
$this->assertStringContainsString( (string) static::TYPE, get_post_meta( $this->post_id, $this->plugin->meta_key_type, true ) );
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment