Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 711fe77

Browse files
Simplify line
1 parent 91b15a1 commit 711fe77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Helpers/FacebookRedirectLoginHelperTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ public function testAnAccessTokenCanBeObtainedFromRedirect()
106106

107107
// code and state should be stripped from the URL
108108
$expectedUrl = self::REDIRECT_URL . '?' . static::FOO_PARAM;
109+
$expectedString = 'foo_token_from_code|' . static::FOO_CODE . '|' . $expectedUrl;
109110

110-
$this->assertEquals('foo_token_from_code|' . static::FOO_CODE . '|' . $expectedUrl, $accessToken->getValue());
111+
$this->assertEquals($expectedString, $accessToken->getValue());
111112
}
112113

113114
public function testACustomCsprsgCanBeInjected()

0 commit comments

Comments
 (0)