diff --git a/tests/KdybyTests/Facebook/Facebook_v2_0.phpt b/tests/KdybyTests/Facebook/Facebook_v2_0.phpt index afb58f6b..7239b39b 100644 --- a/tests/KdybyTests/Facebook/Facebook_v2_0.phpt +++ b/tests/KdybyTests/Facebook/Facebook_v2_0.phpt @@ -275,7 +275,7 @@ class Facebook_v2_0Test extends FacebookTestCase { $facebook = $this->createWithRequest(); - $response = $facebook->api('/' . $this->testUser->id); + $response = $facebook->api('/' . $this->testUser->id . '?fields=id,name,first_name,last_name'); Assert::true(isset($response['id'])); // User ID should be public. Assert::true(isset($response['name'])); // User's name should be public. Assert::true(isset($response['first_name'])); // User's first name should be public. diff --git a/tests/KdybyTests/Facebook/Facebook_v2_1.phpt b/tests/KdybyTests/Facebook/Facebook_v2_1.phpt index a47c97ee..e60f7226 100644 --- a/tests/KdybyTests/Facebook/Facebook_v2_1.phpt +++ b/tests/KdybyTests/Facebook/Facebook_v2_1.phpt @@ -275,7 +275,7 @@ class Facebook_v2_1Test extends FacebookTestCase { $facebook = $this->createWithRequest(); - $response = $facebook->api('/' . $this->testUser->id); + $response = $facebook->api('/' . $this->testUser->id . '?fields=id,name,first_name,last_name'); Assert::true(isset($response['id'])); // User ID should be public. Assert::true(isset($response['name'])); // User's name should be public. Assert::true(isset($response['first_name'])); // User's first name should be public. diff --git a/tests/KdybyTests/Facebook/Facebook_v2_2.phpt b/tests/KdybyTests/Facebook/Facebook_v2_2.phpt index ef60ba2e..3f57eec3 100644 --- a/tests/KdybyTests/Facebook/Facebook_v2_2.phpt +++ b/tests/KdybyTests/Facebook/Facebook_v2_2.phpt @@ -275,7 +275,7 @@ class Facebook_v2_2Test extends FacebookTestCase { $facebook = $this->createWithRequest(); - $response = $facebook->api('/' . $this->testUser->id); + $response = $facebook->api('/' . $this->testUser->id . '?fields=id,name,first_name,last_name'); Assert::true(isset($response['id'])); // User ID should be public. Assert::true(isset($response['name'])); // User's name should be public. Assert::true(isset($response['first_name'])); // User's first name should be public. diff --git a/tests/KdybyTests/Facebook/Facebook_v2_3.phpt b/tests/KdybyTests/Facebook/Facebook_v2_3.phpt index 067b664b..10c8fc51 100644 --- a/tests/KdybyTests/Facebook/Facebook_v2_3.phpt +++ b/tests/KdybyTests/Facebook/Facebook_v2_3.phpt @@ -275,7 +275,7 @@ class Facebook_v2_3Test extends FacebookTestCase { $facebook = $this->createWithRequest(); - $response = $facebook->api('/' . $this->testUser->id); + $response = $facebook->api('/' . $this->testUser->id . '?fields=id,name,first_name,last_name'); Assert::true(isset($response['id'])); // User ID should be public. Assert::true(isset($response['name'])); // User's name should be public. Assert::true(isset($response['first_name'])); // User's first name should be public.