Skip to content

Commit

Permalink
Remove hostname from logged browser URL in user-login test.
Browse files Browse the repository at this point in the history
  • Loading branch information
grugnog committed Nov 6, 2012
1 parent 304045c commit 0f4376f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/userTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function testUser() {
$this->assertStringStartsWith('/user/reset/1', $url['path'], 'Login returned a reset URL for uid 1 by default');
$browser = FALSE;
foreach ($parsed['log'] as $key => $log) {
if (strpos($log['message'], 'Opening browser unish at http://dev/user/reset/1/') === 0) {
if (strpos($log['message'], 'Opening browser unish at http://') === 0) {
$browser = TRUE;
}
}
Expand Down

0 comments on commit 0f4376f

Please sign in to comment.