Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Sep 26, 2023
1 parent e2d3499 commit 97d3903
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Concerns/InteractsWithWorkbench.php
Expand Up @@ -97,9 +97,7 @@ public static function cachedConfigurationForWorkbench()
$workingPath = Env::get('TESTBENCH_WORKING_PATH');
}

$config = Config::loadFromYaml($workingPath);

static::$cachedConfigurationForWorkbench = $config;
static::$cachedConfigurationForWorkbench = Config::loadFromYaml($workingPath);
}

return static::$cachedConfigurationForWorkbench;
Expand All @@ -114,6 +112,7 @@ public static function cachedConfigurationForWorkbench()
*/
public static function setupBeforeClassUsingWorkbench(): void
{
/** @var array{laravel: string|null} $config */
$config = static::cachedConfigurationForWorkbench();

if (
Expand Down

0 comments on commit 97d3903

Please sign in to comment.