Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions phpunit/blocks/block-navigation-link-variations-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function test_navigation_link_variations_custom_post_type() {
$variation = $this->get_variation_by_name( 'custom_book', $variations );
$this->assertIsArray( $variation, 'Block variation does not exist' );
$this->assertArrayHasKey( 'title', $variation, 'Block variation has no title' );
$this->assertEquals( 'Custom Book', $variation['title'], 'Variation title is different than the post type label' );
$this->assertSame( 'Custom Book', $variation['title'], 'Variation title is different than the post type label' );
}

/**
Expand Down Expand Up @@ -145,7 +145,7 @@ public function test_navigation_link_variations_custom_taxonomy() {
$variation = $this->get_variation_by_name( 'book_type', $variations );
$this->assertIsArray( $variation, 'Block variation does not exist' );
$this->assertArrayHasKey( 'title', $variation, 'Block variation has no title' );
$this->assertEquals( 'Book Type', $variation['title'], 'Variation title is different than the post type label' );
$this->assertSame( 'Book Type', $variation['title'], 'Variation title is different than the post type label' );
}

/**
Expand Down
Loading