Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 7ede02e

Browse files
committed
Ensure the BootstrapTest suite extends TestCase, not WP_UnitTestCase directly.
The tests/sample-test.php file has also been updated accordingly.
1 parent 0da9d4d commit 7ede02e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

tests/test-bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @author Liquid Web
77
*/
88

9-
class BootstrapTest extends WP_UnitTestCase {
9+
class BootstrapTest extends TestCase {
1010

1111
/**
1212
* Tear down the plugin after each test run.

tests/test-sample.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?php
22
/**
3-
* Class SampleTest
3+
* Sample test case for WooCommerce Custom Order Tables.
44
*
55
* @package Woocommerce_Order_Tables
6+
* @author Liquid Web
67
*/
78

8-
/**
9-
* Sample test case.
10-
*/
11-
class SampleTest extends WP_UnitTestCase {
9+
class SampleTest extends TestCase {
1210

1311
/**
1412
* A single example test.

0 commit comments

Comments
 (0)