public function testInstagramProfile() { $user = new User(); $user->instagram_id = 100; $profile = $user->instagramProfile(); $this->assertInstanceOf('app\\instagram\\models\\InstagramProfile', $profile); $this->assertEquals(100, $profile->id()); }
public function testInstagramProfile() { $user = new User(); $user->instagram_id = 100; $profile = $user->instagramProfile(); $this->assertInstanceOf('app\\instagram\\models\\InstagramProfile', $profile); $this->assertEquals(100, $profile->id()); }