Skip to content

Commit

Permalink
Removed Debugging Statements
Browse files Browse the repository at this point in the history
  • Loading branch information
kishore7snehil committed Oct 25, 2024
1 parent 254a23e commit 233190f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/Unit/API/Management/KeysTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@

$this->endpoint->postEncryptionRekey();

$a =$this->api->getRequestUrl();
print_r($a);
expect($this->api->getRequestMethod())->toEqual('POST');
expect($this->api->getRequestUrl())->toEndWith('/api/v2/keys/encryption/rekey');

Expand All @@ -39,10 +37,10 @@

test('postEncryptionRekey() returns 204 on success', function(): void {

// Mock the API response for successful rekey with status 204
// Mocked the API response for successful rekey with status 204
$this->httpResponse204 = HttpResponseGenerator::create('success', 204);

// Mock the client to return the mocked 204 response
// Mocked the client to return the mocked 204 response
$this->client->mockResponse($this->httpResponse204);
$response = $this->client->method('post')
->addPath(['keys', 'encryption', 'rekey'])
Expand Down

0 comments on commit 233190f

Please sign in to comment.