You are here

function PathautoTestHelper::deleteAllAliases in Pathauto 6

Same name and namespace in other branches
  1. 6.2 pathauto.test \PathautoTestHelper::deleteAllAliases()
  2. 7 pathauto.test \PathautoTestHelper::deleteAllAliases()
3 calls to PathautoTestHelper::deleteAllAliases()
PathautoFunctionalTestCase::testNodeOperations in ./pathauto.test
Test node operations.
PathautoFunctionalTestCase::testUserOperations in ./pathauto.test
Test user operations.
PathautoUnitTestCase::testUpdateActions in ./pathauto.test
Test the different update actions in pathauto_create_alias().

File

./pathauto.test, line 146
Functionality tests for Pathauto.

Class

PathautoTestHelper
Helper test class with some added functions for testing.

Code

function deleteAllAliases() {
  db_query("DELETE FROM {url_alias}");
  drupal_clear_path_cache();
}