diff --git a/source/_posts/2017-11-07-tdd-test-driven-drupal.md b/source/_posts/2017-11-07-tdd-test-driven-drupal.md index dbf9846e..740f8975 100644 --- a/source/_posts/2017-11-07-tdd-test-driven-drupal.md +++ b/source/_posts/2017-11-07-tdd-test-driven-drupal.md @@ -89,7 +89,7 @@ public function testListingPageExists() { In order to run the tests, you either need to include `-c core` or be inside the `core` directory when running the command, to ensure that the test classes are autoloaded so can be found, though the path to the `vendor` directory may be different depending on your project structure. You can also specify a path within which to run the tests - e.g. within the module’s `test` directory. ```language-plain -$ ../vendor/bin/phpunit -c core modules/custom/tdd_dublin/tests +$ vendor/bin/phpunit -c core modules/custom/tdd_dublin/tests ```