Merge remote-tracking branch 'origin/v3' into mb-fix-auto-increment

This commit is contained in:
mattbucci
2024-01-08 01:14:46 +00:00
11 changed files with 103 additions and 84 deletions
+16 -2
View File
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php
declare(strict_types=1);
use PHPUnit\Framework\TestCase;
if (!defined('ABSPATH')) {
@@ -166,4 +168,16 @@ final class rewriteTest extends TestCase
}
}
}
protected function setUp(): void
{
global $wpdb;
$wpdb = new class () {
public $categories = "wp_categories";
public $comments = "wp_comments";
public $prefix = "wp_";
public $options = "wp_options";
};
}
}