Skip to content

Chore: Fixed GHA #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tests/Auth/PasswordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected function setUp(): void
{
$this->apiMock = $this->createMock(API::class);
$this->password = new Password($this->apiMock);
EndpointsV1::setBaseUrl($_ENV['DESCOPE_PROJECT_ID']);
EndpointsV1::setBaseUrl('descope_project_id');
}

public function testSignUp()
Expand Down
1 change: 1 addition & 0 deletions src/tests/Auth/SSOTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ protected function setUp(): void
{
$this->apiMock = $this->createMock(API::class);
$this->sso = new SSO($this->apiMock);
EndpointsV1::setBaseUrl('descope_project_id');
}

public function testSSOSignIn(): void
Expand Down
4 changes: 2 additions & 2 deletions src/tests/Management/AuditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class AuditTest extends TestCase
protected function setUp(): void
{
$config = [
'projectId' => 'P2OkfVnJi5Ht7mpCqHjx17nV5epH',
'managementKey' => 'K2o2rLwk3N3QI7kyJcRUmULKXqB7mKzpY7Dk6Hl24IXRM25YcYDYPFMKCO4SmUTDJJluxlu',
'projectId' => 'descope_project_id',
'managementKey' => 'descope_management_key',
];

$this->descopeSDK = new DescopeSDK($config);
Expand Down
4 changes: 2 additions & 2 deletions src/tests/Management/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class UserTest extends TestCase
protected function setUp(): void
{
$config = [
'projectId' => 'YOUR_PROJECT_ID',
'managementKey' => 'YOUR_MANAGEMENT_KEY',
'projectId' => 'descope_project_id',
'managementKey' => 'descope_management_key',
];

$this->descopeSDK = new DescopeSDK($config);
Expand Down
Loading