Skip to content

Commit

Permalink
Remove flaky sync test
Browse files Browse the repository at this point in the history
  • Loading branch information
MGibson1 committed Sep 30, 2024
1 parent f587a01 commit b829b7b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions languages/php/tests/secretsManagerReadTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,6 @@ function testGetSecret()
$this->assertEquals($secret->organizationId, $response->organizationId);
}

function testSync()
{
$sync = self::$client->secrets->sync(env('ORGANIZATION_ID'), null);
$this->assertEquals($sync->hasChanges, true);
$this->assertEquals(count(self::$secrets), count($sync->secrets));
}

function testNoUpdateSync()
{
$sync = self::$client->secrets->sync(env('ORGANIZATION_ID'), date('Y-m-d\TH:i:s.u\Z'));
Expand Down
2 changes: 0 additions & 2 deletions languages/php/tests/secretsManagerSecretWriteTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ function testCreateSecret()
$toCreate->project_id = self::$writeProject->id;

$res = self::$client->secrets->create(env('ORGANIZATION_ID'), $toCreate->key, $toCreate->value, $toCreate->note, [$toCreate->project_id]);
var_dump($res);
var_dump($toCreate);
$this->assertEquals($res->key, $toCreate->key);
$this->assertEquals($res->value, $toCreate->value);
$this->assertEquals($res->note, $toCreate->note);
Expand Down

0 comments on commit b829b7b

Please sign in to comment.