You are here

public function BasicFunctionalityTest::runningOnTestbot in Calendar Systems 8.2

Detect if we're running on Drupal.org's automated testbot.

This is used inside the edit test so that the testbot skips intentionally failing tests. Otherwise, it would mark this module as broken.

For more information on the testbot, see http://qa.drupal.org/.

Return value

boolean TRUE if running on testbot.

File

src/Tests/BasicFunctionalityTest.test, line 81

Class

BasicFunctionalityTest
Tests basic functionality

Namespace

Drupal\calendar_systems\Tests

Code

public function runningOnTestbot() {
  $testbot_code_directory = "../checkout";
  return file_exists($testbot_code_directory);
}