public function BlockAriaLandmarkRolesTest::testGetRoles in Block ARIA Landmark Roles 8
Test getting the ARIA landmark roles.
@covers ::get
File
- tests/
src/ Unit/ BlockAriaLandmarkRolesTest.php, line 21
Class
- BlockAriaLandmarkRolesTest
- Test the BlockAriaLandmarkRoles helper class.
Namespace
Drupal\Tests\block_aria_landmark_roles\UnitCode
public function testGetRoles() {
$this
->assertEquals([
'application',
'banner',
'complementary',
'contentinfo',
'form',
'main',
'navigation',
'search',
], BlockAriaLandmarkRoles::get());
}