@@ -54,10 +54,10 @@ |
||
| 54 | 54 | { |
| 55 | 55 | $app = new App('id', 'secret', 'http://test.domain'); |
| 56 | 56 | $url = $app->getAuthURL('process.php', 'error.php', 'challenge'); |
| 57 | - $expect = 'http://test.domain/oauth/code?app_id=id&process_url=' . |
|
| 58 | - urlencode('process.php') . |
|
| 59 | - '&error_url=' . urlencode('error.php') . |
|
| 60 | - '&challenge=' . Utils::pack('challenge'); |
|
| 57 | + $expect = 'http://test.domain/oauth/code?app_id=id&process_url='. |
|
| 58 | + urlencode('process.php'). |
|
| 59 | + '&error_url='.urlencode('error.php'). |
|
| 60 | + '&challenge='.Utils::pack('challenge'); |
|
| 61 | 61 | |
| 62 | 62 | $this->assertEquals($expect, $url); |
| 63 | 63 | } |