mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #5387 from open-sausages/pulls/4.0/fix-root-folder-404
API Change in behaviour to flysystem reporting for root folders
This commit is contained in:
commit
b67b2638a1
@ -169,8 +169,9 @@ class ProtectedFileControllerTest extends FunctionalTest {
|
||||
$result = $this->get('assets/FileTest-subfolder');
|
||||
$this->assertResponseEquals(403, null, $result);
|
||||
|
||||
// Flysystem reports root folder as not present
|
||||
$result = $this->get('assets');
|
||||
$this->assertResponseEquals(403, null, $result);
|
||||
$this->assertResponseEquals(404, null, $result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user