You are here

function EntityTranslationTestCase::enableCleanUrls in Entity Translation 7

Make sure the clean urls are enabled.

File

tests/entity_translation.test, line 102
Tests for Entity translation module.

Class

EntityTranslationTestCase
Base class for entity translation module tests.

Code

function enableCleanUrls() {
  $this
    ->drupalGet('admin/config/search/clean-urls');
  $edit = array();
  $edit['clean_url'] = TRUE;
  $this
    ->drupalPost(NULL, $edit, t('Save configuration'));
}