You are here

function JammerPreviewButtonTest::testSettingsSecured in Jammer 6

File

./jammer.test, line 48
Jammer simpletest test suite.

Class

JammerPreviewButtonTest
@file

Code

function testSettingsSecured() {
  $user = $this
    ->drupalCreateUser(array(
    'access content',
  ));
  $this
    ->drupalLogin($user);
  $url = url('admin/settings/jammer', array(
    'absolute' => TRUE,
  ));
  $this
    ->drupalGet($url);
  $this
    ->assertNoText(t('Jammer'));
}