Skip to content

Commit 8512329

Browse files
committed
automatically skip api integration tests
1 parent 0af1273 commit 8512329

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

framework/traits/trait-llms-unit-test-case-base.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Mock Request methods
44
*
55
* @since 1.5.0
6-
* @version 3.3.2
6+
* @version 4.0.0
77
*/
88

99
include_once 'trait-llms-unit-test-mock-requests.php';
@@ -51,11 +51,14 @@ trait LLMS_Unit_Test_Case_Base {
5151
* @since 1.7.0 Initailize the `$cookies` property.
5252
* @since 1.14.0 Add access to logs class.
5353
* @since 3.0.0 Renamed from `setUp()` for WP core compat.
54+
* @since 4.0.0 Automatically skips qualifying API integration tests.
5455
*
5556
* @return void
5657
*/
5758
public function set_up() {
5859

60+
$this->skip_api_integration_test();
61+
5962
parent::set_up();
6063

6164
$this->cookies = LLMS_Tests_Cookies::instance();

0 commit comments

Comments
 (0)