public function testGmapFormsTestCase::testGmapSaveConfig in GMap Module 6.2
Same name and namespace in other branches
- 7.2 tests/gmap.test \testGmapFormsTestCase::testGmapSaveConfig()
- 7 tests/gmap.test \testGmapFormsTestCase::testGmapSaveConfig()
File
- tests/
gmap.test, line 131 - Unit tests for gmap.module.
Class
Code
public function testGmapSaveConfig() {
$edit = array(
'gmap_api_key' => 'AIzaSyAe2PAkh_qvTq-3WkXQrVwVwh3Lo9FDvkk',
);
$this
->drupalPost('admin/settings/gmap', $edit, t('Save configuration'));
$this
->assertText(t('The configuration options have been saved.'));
}