private function OAuthKeyFormTest::assertKey in Lightning API 8.4
Same name and namespace in other branches
- 8 tests/src/Kernel/OAuthKeyFormTest.php \Drupal\Tests\lightning_api\Kernel\OAuthKeyFormTest::assertKey()
- 8.2 tests/src/Kernel/OAuthKeyFormTest.php \Drupal\Tests\lightning_api\Kernel\OAuthKeyFormTest::assertKey()
- 8.3 tests/src/Kernel/OAuthKeyFormTest.php \Drupal\Tests\lightning_api\Kernel\OAuthKeyFormTest::assertKey()
1 call to OAuthKeyFormTest::assertKey()
- OAuthKeyFormTest::testForm in tests/
src/ Kernel/ OAuthKeyFormTest.php
File
- tests/
src/ Kernel/ OAuthKeyFormTest.php, line 40
Class
- OAuthKeyFormTest
- @group lightning_api
Namespace
Drupal\Tests\lightning_api\KernelCode
private function assertKey($path) {
$this
->assertFileExists($path);
$this
->assertSame(OAuthKey::PERMISSIONS, fileperms($path) & 0777);
$this->container
->get('file_system')
->unlink($path);
}