You are here

public function OAuth2ClientTestCase::clientIntegration in OAuth2 Client 7

Same name and namespace in other branches
  1. 7.2 tests/oauth2_client.test \OAuth2ClientTestCase::clientIntegration()

Test client integration.

1 call to OAuth2ClientTestCase::clientIntegration()
OAuth2ClientTestCase::testGetAccessToken in tests/oauth2_client.test

File

tests/oauth2_client.test, line 99
OAuth2 Client tests.

Class

OAuth2ClientTestCase
Test OAuth2 Client.

Code

public function clientIntegration() {
  $result = $this
    ->drupalGet('oauth2/test-client-integration');
  $this
    ->assertText('access_token: ');
  $this
    ->assertText('extra_param: This will be appended to the request on redirect.');
}