Skip to content

Commit

Permalink
Merge pull request #1234 from INN/1233-fb-user-change
Browse files Browse the repository at this point in the history
Change test nonexistent FB user to a pseudorandom string
  • Loading branch information
benlk authored Jun 14, 2016
2 parents ac5b147 + ac84e0f commit bdac94a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/inc/test-helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ function test_largo_fb_user_is_followable() {
/**
* With a user that does not exist, we hope that the user will continue to not exist
*/
$result = largo_fb_user_is_followable("abcdefghijklmnopqrstuvwxyz12");
$this->assertFalse($result, "Either https://www.facebook.com/abcdefghijklmnopqrstuvwxyz12 is user that exists and allows follows, or the Facebook follow button iframe HTML structure has changed and largo_fb_url_to_username no longer operates predictably.");
$result = largo_fb_user_is_followable("fb8c57ff40dda4b6898ae049d8298584");
$this->assertFalse($result, "Either https://www.facebook.com/fb8c57ff40dda4b6898ae049d8298584 is user that exists and allows follows, or the Facebook follow button iframe HTML structure has changed and largo_fb_url_to_username no longer operates predictably.");
unset($result);

/**
Expand Down

0 comments on commit bdac94a

Please sign in to comment.