You are here

public function StreamWrapperConfigurationTest::testFromConfigMissingExpiration in AmazonS3 7.2

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

File

tests/StreamWrapperConfigurationTest.php, line 29

Class

StreamWrapperConfigurationTest
@class StreamWrapperConfigurationTest @package Drupal\amazons3Test

Namespace

Drupal\amazons3Test

Code

public function testFromConfigMissingExpiration() {
  $settings = array(
    'bucket' => 'bucket',
    'caching' => TRUE,
  );
  $config = StreamWrapperConfiguration::fromConfig($settings);
}