OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
email
/
vendor
/
aws
/
aws-sdk-php
/
tests
/
S3
/
Exception
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
07/10/2024 05:37:56 AM
rwxr-xr-x
📄
DeleteMultipleObjectsExceptionTest.php
721 bytes
07/10/2024 05:28:03 AM
rw-r--r--
📄
S3MultipartUploadExceptionTest.php
1.38 KB
07/10/2024 05:28:03 AM
rw-r--r--
Editing: DeleteMultipleObjectsExceptionTest.php
Close
<?php namespace Aws\Test\S3\Exception; use Aws\S3\Exception\DeleteMultipleObjectsException; use Yoast\PHPUnitPolyfills\TestCases\TestCase; /** * @covers Aws\S3\Exception\DeleteMultipleObjectsException */ class DeleteMultipleObjectsExceptionTest extends TestCase { public function testReturnsData() { $del = [['Key' => 'foo']]; $err = [['Key' => 'bar']]; $e = new DeleteMultipleObjectsException($del, $err); $this->assertSame($del, $e->getDeleted()); $this->assertSame($err, $e->getErrors()); $this->assertStringContainsString( 'Unable to delete certain keys when executing a', $e->getMessage() ); } }