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