You are here

function MailLoggerTest::testMailLoggerMenuExistance in Mail Logger 7

Make sure the menu items and filter form exist.

File

./mail_logger.test, line 24
Tests for the Mail Logger module.

Class

MailLoggerTest
@file Tests for the Mail Logger module.

Code

function testMailLoggerMenuExistance() {
  $user = $this
    ->drupalCreateUser(array(
    'access mail logger',
  ));
  $this
    ->drupalLogin($user);
  $this
    ->drupalGet('admin/reports/mail-logger/');
  $this
    ->assertResponse('200');
  $this
    ->assertRaw('all mail types', t('Mailkey filter form found'));
}