Skip to content

Commit ab8f91e

Browse files
author
Joel Butcher
committed
update default graph version in tests
1 parent cababb7 commit ab8f91e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/FacebookTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
class FacebookTest extends TestCase
4242
{
4343
protected $config = [
44-
'app_id' => '1337',
45-
'app_secret' => 'foo_secret',
46-
'default_graph_version' => 'v0.0',
44+
'app_id' => '1337',
45+
'app_secret' => 'foo_secret',
46+
'default_graph_version' => 'v11.0',
4747
];
4848

4949
public function testInstantiatingWithoutAppIdThrows()
@@ -53,8 +53,8 @@ public function testInstantiatingWithoutAppIdThrows()
5353
// unset value so there is no fallback to test expected Exception
5454
putenv(Facebook::APP_ID_ENV_NAME.'=');
5555
$config = [
56-
'app_secret' => 'foo_secret',
57-
'default_graph_version' => 'v0.0',
56+
'app_secret' => 'foo_secret',
57+
'default_graph_version' => 'v11.0',
5858
];
5959
new Facebook($config);
6060
}
@@ -67,7 +67,7 @@ public function testInstantiatingWithoutAppSecretThrows()
6767
putenv(Facebook::APP_SECRET_ENV_NAME.'=');
6868
$config = [
6969
'app_id' => 'foo_id',
70-
'default_graph_version' => 'v0.0',
70+
'default_graph_version' => 'v11.0',
7171
];
7272
new Facebook($config);
7373
}

0 commit comments

Comments
 (0)