public function SocialAuthEntityTest::testUserId in Social Auth 3.x
Same name and namespace in other branches
- 8.2 tests/src/Kernel/SocialAuthEntityTest.php \Drupal\Tests\social_auth\Kernel\SocialAuthEntityTest::testUserId()
Tests getter for user_id field.
File
- tests/
src/ Kernel/ SocialAuthEntityTest.php, line 83
Class
- SocialAuthEntityTest
- Tests social_auth entity.
Namespace
Drupal\Tests\social_auth\KernelCode
public function testUserId() {
self::assertEquals($this->values['user_id'], $this->entity
->getUserId());
}