You are here

public function BirthdaysDefaultsTestCase::testAdminPage in Birthdays 7

Ensure the field is visible on the configuration page.

File

./birthdays.test, line 158
Unit tests for the Birthdays module.

Class

BirthdaysDefaultsTestCase
Tests birthdays default functionaly.

Code

public function testAdminPage() {
  $this
    ->drupalLogin($this->admin_user);
  $this
    ->drupalGet('admin/config/people/accounts/fields');
  $this
    ->assertText(t('Birthday'));
  $this
    ->assertText('birthdays');
  $this
    ->assertText(t('Select boxes'));
}