Skip to content

Commit

Permalink
update default graph version in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Butcher committed Jul 31, 2021
1 parent cababb7 commit ab8f91e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/FacebookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
class FacebookTest extends TestCase
{
protected $config = [
'app_id' => '1337',
'app_secret' => 'foo_secret',
'default_graph_version' => 'v0.0',
'app_id' => '1337',
'app_secret' => 'foo_secret',
'default_graph_version' => 'v11.0',
];

public function testInstantiatingWithoutAppIdThrows()
Expand All @@ -53,8 +53,8 @@ public function testInstantiatingWithoutAppIdThrows()
// unset value so there is no fallback to test expected Exception
putenv(Facebook::APP_ID_ENV_NAME.'=');
$config = [
'app_secret' => 'foo_secret',
'default_graph_version' => 'v0.0',
'app_secret' => 'foo_secret',
'default_graph_version' => 'v11.0',
];
new Facebook($config);
}
Expand All @@ -67,7 +67,7 @@ public function testInstantiatingWithoutAppSecretThrows()
putenv(Facebook::APP_SECRET_ENV_NAME.'=');
$config = [
'app_id' => 'foo_id',
'default_graph_version' => 'v0.0',
'default_graph_version' => 'v11.0',
];
new Facebook($config);
}
Expand Down

0 comments on commit ab8f91e

Please sign in to comment.