Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Merge requests
!78
Issue
#3243422
: Add a kernel test of WritableFileSystemValidator
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3243422
: Add a kernel test of WritableFileSystemValidator
issue/automatic_updates-3243422:3243422-use-vfs
into
8.x-2.x
Overview
1
Commits
7
Pipelines
0
Changes
1
1 unresolved thread
Hide all comments
Merged
Ted Bowman
requested to merge
issue/automatic_updates-3243422:3243422-use-vfs
into
8.x-2.x
3 years ago
Overview
1
Commits
7
Pipelines
0
Changes
1
1 unresolved thread
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
e5a80d67
Prev
Next
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Unverified
e5a80d67
phpcbf
· e5a80d67
Ted Bowman
authored
3 years ago
tests/src/Kernel/ReadinessValidation/WritableFileSystemValidatorTest.php
+
2
−
2
Options
@@ -100,8 +100,8 @@ class WritableFileSystemValidatorTest extends AutomaticUpdatesKernelTestBase {
*/
public
function
testWritable
(
array
$paths
,
array
$expected_results
):
void
{
$files
=
vfsStream
::
setup
(
'htdoc'
,
0777
);
$files
->
addChild
(
vfsStream
::
newDirectory
(
'root'
,
$paths
[
'root'
]
?
0777
:
0444
));
$files
->
addChild
(
vfsStream
::
newDirectory
(
'vendor'
,
$paths
[
'vendor'
]
?
0777
:
0444
));
$files
->
addChild
(
vfsStream
::
newDirectory
(
'root'
,
$paths
[
'root'
]
?
0777
:
0444
));
$files
->
addChild
(
vfsStream
::
newDirectory
(
'vendor'
,
$paths
[
'vendor'
]
?
0777
:
0444
));
$path_locator
=
$this
->
prophesize
(
PathLocator
::
class
);
$path_locator
->
getVendorDirectory
()
->
willReturn
(
vfsStream
::
url
(
'htdoc/vendor'
));
Loading