You are here

function ShurlyAdminTestCase::testSubmitSameUrlTwice in ShURLy 7

A menu item to access admin/config/systen/shurly should show up on admin/config.

File

tests/admin.test, line 30
Tests for the Shurly's admin interface.

Class

ShurlyAdminTestCase
Shurly's admin interface.

Code

function testSubmitSameUrlTwice() {
  $user = $this
    ->drupalCreateUser(array(
    'access administration pages',
    'Administer short URLs',
  ));
  $this
    ->drupalLogin($user);
  $this
    ->drupalGet('admin/config');
  $this
    ->assertLink('ShURLy');
  $this
    ->assertLinkByHref('admin/config/system/shurly');
}