/** * @expectedException \Yosymfony\Spress\Core\ContentManager\Exception\AttributeValueException */ public function testBadParamExclude() { $fsDataSource = new FilesystemDataSource(['source_root' => $this->sourcePath, 'exclude' => './', 'text_extensions' => $this->textExtensions]); $fsDataSource->load(); }
/** * @expectedException \Yosymfony\Spress\Core\Exception\AttributeValueException */ public function testBadParamExclude() { $fsDataSource = new FilesystemDataSource(['source_root' => __DIR__ . '/../../fixtures/project/src', 'exclude' => './', 'text_extensions' => $this->textExtensions]); $fsDataSource->load(); }