Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalTimK committed Apr 20, 2024
1 parent dbb4a1a commit a108e9f
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions tests/BigBlueButtonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,6 @@ public function testUpdateRecordings(): void
$this->assertEquals('FAILED', $result->getReturnCode());
$this->assertTrue($result->failed());
}
<<<<<<< HEAD
=======

// Hooks: create

Expand Down Expand Up @@ -443,27 +441,4 @@ public function testHooksDestroy(): void
$hooksCreateResponse = $this->bbb->hooksDestroy($hooksDestroyParameters);
$this->assertFalse($hooksCreateResponse->success(), $hooksCreateResponse->getMessage());
}

/**
* @see https://github.com/vlucas/phpdotenv
*/
private function loadEnvironmentVariables(): void
{
$envPath = __DIR__ . '/..';
$envFileMain = '.env';
$envFileLocal = '.env.local';

if (file_exists("{$envPath}/{$envFileLocal}")) {
$envFile = $envFileLocal;
} elseif (file_exists("{$envPath}/{$envFileMain}")) {
$envFile = $envFileMain;
} else {
throw new \RuntimeException("Environment file ('{$envFileMain}' nor '{$envFileLocal}') not found!");
}

$dotenv = Dotenv::createUnsafeImmutable($envPath, $envFile);
$dotenv->load();
$dotenv->required(['BBB_SECRET', 'BBB_SERVER_BASE_URL']);
}
>>>>>>> master
}

0 comments on commit a108e9f

Please sign in to comment.