Skip to content

Commit

Permalink
Chore: Fixed GHA (#33)
Browse files Browse the repository at this point in the history
* RELEASE

* added changes
  • Loading branch information
gaokevin1 authored Dec 30, 2024
1 parent bf29968 commit 9920432
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
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

0 comments on commit 9920432

Please sign in to comment.