From 195e93c643ba3cc0c6ff77ab85ff250ccecda61e Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Thu, 11 Jun 2015 09:56:49 +0200 Subject: [PATCH] Removed test for getUserId --- tests/LinkedInTest.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/LinkedInTest.php b/tests/LinkedInTest.php index c97ac4a..adfb12a 100644 --- a/tests/LinkedInTest.php +++ b/tests/LinkedInTest.php @@ -142,17 +142,6 @@ public function testGetUser() $this->assertEquals($user, $linkedIn->getUser()); } - public function testGetUserId() - { - $linkedIn = m::mock('Happyr\LinkedIn\LinkedIn[getUser]', array(self::APP_ID, self::APP_SECRET)) - ->shouldReceive('getUser')->andReturn(array('id' => 'foobar'), array(), null) - ->getMock(); - - $this->assertEquals('foobar', $linkedIn->getUserId()); - $this->assertEquals(null, $linkedIn->getUserId()); - $this->assertEquals(null, $linkedIn->getUserId()); - } - public function testFetchNewAccessToken() { $storage = m::mock('Happyr\LinkedIn\Storage\DataStorageInterface')