diff --git a/src/Command/DkanCommands.php b/src/Command/DkanCommands.php index 942e398..62d4a3d 100644 --- a/src/Command/DkanCommands.php +++ b/src/Command/DkanCommands.php @@ -51,7 +51,7 @@ public function dkanTestCypress(array $args) */ public function dkanTestDredd() { - $this->dkanTestUser("testuser", "2jqzOAnXS9mmcLasy", "api_user"); + $this->apiUser(); $this->taskExec("npm install dredd") ->dir("docroot/modules/contrib/dkan") ->run(); @@ -69,7 +69,7 @@ public function dkanTestDredd() */ public function dkanTestPhpunit(array $args) { - $this->dkanTestUser("testuser", "2jqzOAnXS9mmcLasy", "api_user"); + $this->apiUser(); $proj_dir = Util::getProjectDirectory(); $phpunit_executable = $this->getPhpUnitExecutable(); @@ -89,7 +89,7 @@ public function dkanTestPhpunit(array $args) */ public function dkanTestPhpunitCoverage($code_climate_reporter_id) { - $this->dkanTestUser("testuser", "2jqzOAnXS9mmcLasy", "api_user"); + $this->apiUser(); $proj_dir = Util::getProjectDirectory(); $dkanDir = "{$proj_dir}/docroot/modules/contrib/dkan";