geofield_openlayers.test 804 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * @file
  4. * Integration tests for geofield.module with openlayers.module
  5. */
  6. class GeofieldOpenlayersTestCase extends FieldTestCase {
  7. public static function getInfo() {
  8. return array(
  9. 'name' => 'Geofield/Openlayers',
  10. 'description' => "Integration tests for Openlayers",
  11. 'group' => 'Geofield'
  12. );
  13. }
  14. function setUp() {
  15. parent::setUp(array('geofield', 'field_test'));
  16. $this->admin_user = $this->drupalCreateUser(array('administer filters'));
  17. $this->web_user = $this->drupalCreateUser(array('access field_test content', 'administer field_test content', 'administer modules'));
  18. $this->drupalLogin($this->web_user);
  19. }
  20. // Test fields.
  21. /**
  22. * Sample test.
  23. */
  24. function testSampletest() {
  25. $this->assertTrue(1 == 1, "1 == 1");
  26. }
  27. }