You are here

public function testGmapMacroFormsTestCase::testMacroMenuExampleCreate in GMap Module 7

Same name and namespace in other branches
  1. 7.2 tests/gmap.test \testGmapMacroFormsTestCase::testMacroMenuExampleCreate()

File

tests/gmap.test, line 171
Unit tests for gmap.module.

Class

testGmapMacroFormsTestCase

Code

public function testMacroMenuExampleCreate() {
  $this->privileged_user = $this
    ->drupalCreateUser(array(
    'create gmap macro',
  ));
  $this
    ->drupalLogin($this->privileged_user);
  $edit = array();
  $this
    ->drupalGet('map/macro', $edit);
  $this
    ->assertText(t('You can use this interface to create a map macro suitable for pasting into a node or any other place that accepts a GMap macro.'));
}