Unit Tests: after [35242], declare some missing instance props on individual test classes.
See #30017, #33968. git-svn-id: https://develop.svn.wordpress.org/trunk@35243 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b757b37551
commit
ae226d66b6
@ -5,6 +5,8 @@
|
|||||||
* @group upload
|
* @group upload
|
||||||
*/
|
*/
|
||||||
class Tests_Image_Intermediate_Size extends WP_UnitTestCase {
|
class Tests_Image_Intermediate_Size extends WP_UnitTestCase {
|
||||||
|
protected $ids = array();
|
||||||
|
|
||||||
function tearDown() {
|
function tearDown() {
|
||||||
$this->remove_added_uploads();
|
$this->remove_added_uploads();
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
* @group upload
|
* @group upload
|
||||||
*/
|
*/
|
||||||
class Tests_Post_Attachments extends WP_UnitTestCase {
|
class Tests_Post_Attachments extends WP_UnitTestCase {
|
||||||
|
protected $ids = array();
|
||||||
|
|
||||||
function tearDown() {
|
function tearDown() {
|
||||||
// Remove all uploads.
|
// Remove all uploads.
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
* @group post
|
* @group post
|
||||||
*/
|
*/
|
||||||
class Tests_Post_WpUniquePostSlug extends WP_UnitTestCase {
|
class Tests_Post_WpUniquePostSlug extends WP_UnitTestCase {
|
||||||
|
protected $post_ids = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ticket 21013
|
* @ticket 21013
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user