X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=ext%2Foauth-client%2Ftests%2Fphpunit%2Fapi%2Fv4%2FOAuthProviderTest.php;h=2643fc9284d546319f133f4f3814595ebc0ff676;hb=c57c49faa390fc4347e1eedbf6a8ca5534de4c20;hp=a7f54e880e433e8c58bc154a607ab90a92682c67;hpb=093e8cc14b638518ace7131472225302a9683eee;p=civicrm-core.git diff --git a/ext/oauth-client/tests/phpunit/api/v4/OAuthProviderTest.php b/ext/oauth-client/tests/phpunit/api/v4/OAuthProviderTest.php index a7f54e880e..2643fc9284 100644 --- a/ext/oauth-client/tests/phpunit/api/v4/OAuthProviderTest.php +++ b/ext/oauth-client/tests/phpunit/api/v4/OAuthProviderTest.php @@ -17,18 +17,18 @@ class api_v4_OAuthProviderTest extends \PHPUnit\Framework\TestCase implements He return \Civi\Test::headless()->install('oauth-client')->apply(); } - public function setUp() { + public function setUp(): void { parent::setUp(); } - public function tearDown() { + public function tearDown(): void { parent::tearDown(); } /** * Create, read, and destroy token - with full access to secrets. */ - public function testGet() { + public function testGet(): void { \CRM_Core_Config::singleton()->userPermissionClass->permissions = ['access CiviCRM']; $examples = Civi\Api4\OAuthProvider::get()