You are here

public function StreamWrapperConfigurationTest::testEmptyRequiredStringFails in AmazonS3 7.2

@covers Drupal\amazons3\StreamWrapperConfiguration::fromConfig @covers Drupal\amazons3\StreamWrapperConfiguration::getS3Domain @expectedException \InvalidArgumentException

File

tests/StreamWrapperConfigurationTest.php, line 201

Class

StreamWrapperConfigurationTest
@class StreamWrapperConfigurationTest @package Drupal\amazons3Test

Namespace

Drupal\amazons3Test

Code

public function testEmptyRequiredStringFails() {
  StreamWrapperConfiguration::fromConfig([
    'bucket' => '',
  ]);
}