Skip to content

Commit

Permalink
Updates tests bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethormandy committed Jun 20, 2024
1 parent 3b7ae4e commit fd6ec5f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/_bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@

$devMode = true;

// // Load dotenv?
// if (class_exists(Dotenv\Dotenv::class)) {
// // By default, this will allow .env file values to override environment variables
// // with matching names. Use `createUnsafeImmutable` to disable this.
// Dotenv\Dotenv::createUnsafeMutable(CRAFT_TESTS_PATH)->load();
// }
// Load dotenv?
if (class_exists(Dotenv\Dotenv::class)) {
// By default, this will allow .env file values to override environment variables
// with matching names. Use `createUnsafeImmutable` to disable this.
Dotenv\Dotenv::createUnsafeMutable(CRAFT_TESTS_PATH)->load();
}

TestSetup::configureCraft();

0 comments on commit fd6ec5f

Please sign in to comment.