DevelRequirementsTest.php in Devel 8.3
File
tests/src/Functional/DevelRequirementsTest.php
View source
<?php
namespace Drupal\Tests\devel\Functional;
class DevelRequirementsTest extends DevelBrowserTestBase {
public function testStatusPage() {
$this
->drupalLogin($this->adminUser);
$this
->drupalGet('admin/reports/status');
$this
->assertSession()
->statusCodeEquals(200);
$this
->assertSession()
->pageTextContains('Devel module enabled');
$this
->assertSession()
->pageTextContains('The Devel module provides access to internal debugging information; therefore it\'s recommended to disable this module on sites in production.');
}
}