Skip to content

Commit

Permalink
automatically skip api integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasplevy committed Aug 18, 2022
1 parent 0af1273 commit 8512329
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion framework/traits/trait-llms-unit-test-case-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mock Request methods
*
* @since 1.5.0
* @version 3.3.2
* @version 4.0.0
*/

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

$this->skip_api_integration_test();

parent::set_up();

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

0 comments on commit 8512329

Please sign in to comment.