-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update wp-browser to v3.5 #2064
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="tribe-events-virtual-loader-wrap"> | ||
<div class="tribe-common"> | ||
<div class="tribe-events-loader__dots tribe-common-c-loader tribe-common-a11y-hidden" > | ||
</div> | ||
</div> | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="tribe-events-virtual-loader-wrap"> | ||
<div class="tribe-common"> | ||
<div class="tribe-events-loader__dots tribe-common-c-loader tribe-common-a11y-hidden" > | ||
</div> | ||
</div> | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,7 @@ | |
use Tribe__Admin__Helpers as Admin_Helpers; | ||
|
||
class AdminHelpersTest extends \Codeception\TestCase\WPTestCase { | ||
|
||
function setUp() { | ||
function setUp(): void { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [phpcs] reported by reviewdog 🐶 |
||
parent::setUp(); | ||
|
||
global $pagenow; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ class Body_ClassesTest extends \Codeception\TestCase\WPTestCase { | |
|
||
protected $class_object; | ||
|
||
function setUp() { | ||
function setUp(): void { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [phpcs] reported by reviewdog 🐶 |
||
parent::setUp(); | ||
|
||
|
||
|
@@ -112,7 +112,7 @@ public function it_should_return_an_associative_array() { | |
$class_array = $this->class_object->get_classes(); | ||
|
||
$this->assertTrue( array_key_exists( 'chupacabra', $class_array ) ); | ||
$this->assertTrue( $class_array['chupacabra'] === true ); | ||
$this->assertSame( $class_array['chupacabra'], true ); | ||
} | ||
|
||
/** | ||
|
@@ -125,7 +125,7 @@ public function it_should_return_an_array_of_strings() { | |
|
||
$class_array = $this->class_object->get_class_names(); | ||
|
||
$this->assertTrue( in_array( 'chupacabra', $class_array ) ); | ||
$this->assertContains( 'chupacabra', $class_array ); | ||
} | ||
|
||
/** | ||
|
@@ -217,7 +217,7 @@ public function it_should_return_an_unchanged_classlist_when_not_adding_to_queue | |
$this->create_mixed_classes(); | ||
|
||
$classes = tribe( Body_Classes::class )->add_body_classes( $classes ); | ||
$this->assertFalse( in_array( 'wolfman', $classes ) ); | ||
$this->assertNotContains( 'wolfman', $classes ); | ||
} | ||
|
||
/** | ||
|
@@ -231,7 +231,7 @@ public function it_should_return_an_unchanged_classlist_when_not_adding_to_class | |
$this->create_mixed_classes(); | ||
|
||
$classes = tribe( Body_Classes::class )->add_body_classes( $classes ); | ||
$this->assertFalse( in_array( 'wolfman', $classes ) ); | ||
$this->assertNotContains( 'wolfman', $classes ); | ||
} | ||
|
||
/** | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -179,7 +179,7 @@ public function should_correctly_identify_new_posts() { | |
$this->assertFalse( $sut->is_new_post( array( $post_id, $second_post_id ) ) ); | ||
} | ||
|
||
function setUp() { | ||
function setUp(): void { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [phpcs] reported by reviewdog 🐶 |
||
parent::setUp(); | ||
global $pagenow; | ||
$pagenow = null; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[phpcs] reported by reviewdog 🐶
WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
Method name "setUpBeforeClass" in class Integration_AbstractTests is not in snake case format, try "set_up_before_class"