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
!1026
Issue
#3424290
check if file settings path exist
代码
评审变更
检出分支
下载
补丁
文本差异
Merged
Issue
#3424290
check if file settings path exist
issue/automatic_updates-3424290:3424290-exclude-paths
into
3.0.x
Overview
2
Commits
2
Pipelines
3
Changes
2
1 unresolved thread
Hide all comments
Merged
Ted Bowman
requested to merge
issue/automatic_updates-3424290:3424290-exclude-paths
into
3.0.x
1 year ago
Overview
2
Commits
2
Pipelines
3
Changes
1
1 unresolved thread
Hide all comments
Expand
Closes
#3424290
0
0
Merge request reports
Compare
version 1
version 2
68607f3e
1 year ago
version 1
7a55c871
1 year ago
3.0.x (base)
and
version 2
latest version
a509b7cd
2 commits,
1 year ago
version 2
68607f3e
2 commits,
1 year ago
version 1
7a55c871
1 commit,
1 year ago
Show latest version
1 file
+
14
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
package_manager/tests/src/Kernel/PathExcluder/SiteFilesExcluderTest.php
+
14
−
0
Options
@@ -55,4 +55,18 @@ class SiteFilesExcluderTest extends PackageManagerKernelTestBase {
}
}
/**
* Tests that invalid file settings do not cause errors.
*/
public
function
testInvalidFileSettings
()
{
$invalid_path
=
'/path/does/not/exist'
;
$this
->
assertFileDoesNotExist
(
$invalid_path
);
$this
->
setSetting
(
'file_public_path'
,
$invalid_path
);
$this
->
setSetting
(
'file_private_path'
,
$invalid_path
);
// Ensure we have an up-to-date container.
$this
->
container
=
$this
->
container
->
get
(
'kernel'
)
->
rebuildContainer
();
$this
->
assertStatusCheckResults
([]);
$this
->
assertResults
([]);
}
}
Loading