Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Test user creation for phpunit tests (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeder authored Feb 3, 2022
1 parent d6b4580 commit cc2253b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Command/DkanCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public function dkanTestDredd()
*/
public function dkanTestPhpunit(array $args)
{
$this->dkanTestUser("testuser", "2jqzOAnXS9mmcLasy", "api_user");
$proj_dir = Util::getProjectDirectory();
$phpunit_executable = $this->getPhpUnitExecutable();

Expand All @@ -89,6 +90,7 @@ public function dkanTestPhpunit(array $args)
*/
public function dkanTestPhpunitCoverage($code_climate_reporter_id)
{
$this->dkanTestUser("testuser", "2jqzOAnXS9mmcLasy", "api_user");
$proj_dir = Util::getProjectDirectory();
$dkanDir = "{$proj_dir}/docroot/modules/contrib/dkan";

Expand Down

0 comments on commit cc2253b

Please sign in to comment.