You are here

public function testGmapFormsTestCase::testGmapSaveConfig in GMap Module 6.2

Same name and namespace in other branches
  1. 7.2 tests/gmap.test \testGmapFormsTestCase::testGmapSaveConfig()
  2. 7 tests/gmap.test \testGmapFormsTestCase::testGmapSaveConfig()

File

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

Class

testGmapFormsTestCase

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.'));
}