Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
OauthSectionTest.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
8 
10 
12 {
16  public function testOAuthSection()
17  {
18  $this->dispatch('backend/admin/system_config/edit/section/oauth/');
19  $body = $this->getResponse()->getBody();
20  $this->assertContains('id="oauth_access_token_lifetime-head"', $body);
21  $this->assertContains('id="oauth_cleanup-head"', $body);
22  $this->assertContains('id="oauth_consumer-head"', $body);
23  $this->assertContains('id="oauth_authentication_lock-head"', $body);
24  }
25 }