diff --git a/simpletest_example/src/Tests/SimpleTestExampleTest.php b/simpletest_example/src/Tests/SimpleTestExampleTest.php
index f97d4ef..d8b2419 100644
--- a/simpletest_example/src/Tests/SimpleTestExampleTest.php
+++ b/simpletest_example/src/Tests/SimpleTestExampleTest.php
@@ -165,7 +165,7 @@ class SimpleTestExampleTest extends WebTestBase {
    *   TRUE if running on testbot.
    */
   public function runningOnTestbot() {
-    return (file_exists("../checkout") || file_exists("../site_under_test"));
+    return env('DRUPALCI');
   }
 
 }
