You are here

public function FeedsParaMapperWebTestCase::getProjectPath in Feeds Paragraphs 7

Gets the project path.

Return value

string The path.

3 calls to FeedsParaMapperWebTestCase::getProjectPath()
FeedsParaMapperWebTestCase::assetsFilesExist in tests/FeedsParaMapperWebTestCase.test
Checks if all assets files exist.
FeedsParaMapperWebTestCase::copyFile in tests/FeedsParaMapperWebTestCase.test
Copies a file.
FeedsParaMapperWebTestCase::import in tests/FeedsParaMapperWebTestCase.test
Starts importing.

File

tests/FeedsParaMapperWebTestCase.test, line 757
Common functionality for all Paragraphs Mapper tests.

Class

FeedsParaMapperWebTestCase
Test basic functionality via DrupalWebTestCase.

Code

public function getProjectPath() {
  $root = realpath(getcwd()) . '/';
  $path = $root . drupal_get_path('module', 'feeds_para_mapper');
  return $path;
}