Skip to content

Commit

Permalink
Fix phpcs issues
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jul 25, 2017
1 parent ef5a661 commit 5d55e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpunit/class-admin-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function test_gutenberg_add_edit_links() {
$post_id = $this->factory()->post->create( array(
'post_type' => 'not_shown_in_rest',
) );
$actions = $actions = apply_filters( 'post_row_actions', $original_actions, get_post( $post_id) );
$actions = apply_filters( 'post_row_actions', $original_actions, get_post( $post_id ) );
$this->assertArrayNotHasKey( 'gutenberg hide-if-no-js', $actions );
$this->assertArrayNotHasKey( 'classic hide-if-no-js', $actions );

Expand All @@ -110,7 +110,7 @@ function test_gutenberg_add_edit_links() {
$post_id = $this->factory()->post->create( array(
'post_type' => 'not_supports_editor',
) );
$actions = $actions = apply_filters( 'post_row_actions', $original_actions, get_post( $post_id) );
$actions = apply_filters( 'post_row_actions', $original_actions, get_post( $post_id ) );
$this->assertArrayNotHasKey( 'gutenberg hide-if-no-js', $actions );
$this->assertArrayNotHasKey( 'classic hide-if-no-js', $actions );

Expand Down

0 comments on commit 5d55e39

Please sign in to comment.