| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function testUrl(){ |
||
| 26 | $scope = array( |
||
| 27 | "basic" |
||
| 28 | ); |
||
| 29 | |||
| 30 | $url = $this->instagram->getUrl("oauth/authorize",["scope" => $scope]); |
||
| 31 | |||
| 32 | $this->assertEquals('https://api.instagram.com/oauth/authorize?client_id='.CLIENT_ID.'&redirect_uri='.urlencode(CALLBACK_URL).'&response_type=code&scope=basic', $url); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |