public function testGmapMacroFormsTestCase::testMacroMenuExampleCreate in GMap Module 7.2
Same name and namespace in other branches
- 7 tests/gmap.test \testGmapMacroFormsTestCase::testMacroMenuExampleCreate()
File
- tests/
gmap.test, line 171 - Unit tests for gmap.module.
Class
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.'));
}