Skip to content

Commit

Permalink
fix: rvivly shortener unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Jul 17, 2024
1 parent 0098350 commit b1e63c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-post-format.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function test_url_shortners() {
$rvivly = new Rop_Rvivly_Shortner();
$rvivly->set_website( $url );
$short_url = $rvivly->shorten_url( $url );
$this->assertEquals( $url, $short_url );
$this->assertNotEquals( $url, $short_url );

$this->assertNotFalse( filter_var( $short_url, FILTER_VALIDATE_URL ) );
$this->assertNotEquals( $short_url, '' );
Expand Down

0 comments on commit b1e63c4

Please sign in to comment.