Skip to content
Snippets Groups Projects

Fix tests for PHP 8

Merged Erick Hitter requested to merge fix/tests into master
2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
2
@@ -24,8 +24,8 @@ class PluginTest extends WP_UnitTestCase {
* slug used for redirection so that we can confirm that
* redirection takes priority.
*/
public function setUp() {
parent::setUp();
public function set_up() {
parent::set_up();
$this->factory->post->create_many(
10,
Loading