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')