You are here

function PathModuleTestCase::getPID in SimpleTest 6

1 call to PathModuleTestCase::getPID()
PathModuleTestCase::testAdminAlias in tests/path_module.test
Test alias functionality through the admin interfaces.

File

tests/path_module.test, line 126

Class

PathModuleTestCase

Code

function getPID($dst) {
  return db_result(db_query("SELECT pid FROM {url_alias} WHERE dst = '%s'", $dst));
}