Skip to content

Commit

Permalink
🚮 Remove unnecessary unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuragVasanwala committed Jul 26, 2023
1 parent edce37b commit b0978c2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/phpunit/integration/tests/Shortcode/Embed_Shortcode.php
Expand Up @@ -160,14 +160,4 @@ public function test_render_shortcode_with_poster(): void {
$this->assertStringNotContainsString( '<amp-story-player', $actual );
$this->assertStringContainsString( '<img', $actual );
}

/**
* Should not fail on empty/blank string attribute.
*
* @covers ::render_shortcode
*/
public function test_empty_attribute_in_shortcode(): void {
$actual = $this->instance->render_shortcode( '', '' );
$this->assertTrue( strpos( $actual, 'wp-shortcode-web-stories-embed' ) > -1 );
}
}

0 comments on commit b0978c2

Please sign in to comment.