Skip to content

Commit

Permalink
max keys
Browse files Browse the repository at this point in the history
  • Loading branch information
fogelito committed Sep 18, 2023
1 parent d116ea2 commit abdb8f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Storage/S3Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ public function testGetFilesPagination()

$files = $this->object->getFiles($path, 3);
$this->assertEquals(3, $files['KeyCount']);
$this->assertEquals(1000, $files['MaxKeys']);
$this->assertEquals(3, $files['MaxKeys']);
$this->assertEquals(true, $files['IsTruncated']);
$this->assertIsArray($files['Contents']);
$this->assertNotEmpty($files['NextContinuationToken']);

$files = $this->object->getFiles($path, 3, $files['NextContinuationToken']);
$files = $this->object->getFiles($path, 1000, $files['NextContinuationToken']);
$this->assertEquals(1, $files['KeyCount']);
$this->assertEquals(1000, $files['MaxKeys']);
$this->assertEquals(false, $files['IsTruncated']);
Expand Down

0 comments on commit abdb8f4

Please sign in to comment.