Skip to content

Commit

Permalink
Updated AwsAdapterDefinitionBuilderTest to test the new 'streamReads'…
Browse files Browse the repository at this point in the history
… argument
  • Loading branch information
JohnstonCode committed Nov 9, 2020
1 parent 71c68dc commit 9dd7620
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Adapter/Builder/AwsAdapterDefinitionBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function testOptionsBehavior()
'options' => [
'ServerSideEncryption' => 'AES256',
],
'streamReads' => false,
]);

$this->assertSame(AwsS3Adapter::class, $definition->getClass());
Expand All @@ -70,5 +71,6 @@ public function testOptionsBehavior()
$this->assertSame('bucket', $definition->getArgument(1));
$this->assertSame('prefix/path', $definition->getArgument(2));
$this->assertSame(['ServerSideEncryption' => 'AES256'], $definition->getArgument(3));
$this->assertFalse($definition->getArgument(4));
}
}

0 comments on commit 9dd7620

Please sign in to comment.