You are here

public function ViewportPermissionsExist::testPermissionsExist in Viewport 7

Tests that there's a permission to administer the viewport settings.

File

./viewport.test, line 31
Tests for the Viewport module.

Class

ViewportPermissionsExist
@file Tests for the Viewport module.

Code

public function testPermissionsExist() {
  $perms_defined = module_invoke('viewport', 'permission');
  $this
    ->assertTrue($perms_defined['administer viewport'], t('Administer viewport permission exists'));
}