We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4876a6 commit cc8842dCopy full SHA for cc8842d
pkg/applyinator/file_test.go
@@ -21,9 +21,11 @@ func TestWriteContentToFile(t *testing.T) {
21
22
getFile := func(path string, permissions string, content string) File {
23
return File{
24
- Permissions: permissions,
25
- Path: filepath.Join(tempDir, path),
26
Content: content,
+ UID: -1,
+ GID: -1,
27
+ Path: filepath.Join(tempDir, path),
28
+ Permissions: permissions,
29
}
30
31
@@ -157,8 +159,10 @@ func TestCreateDirectory(t *testing.T) {
157
159
getFile := func(path string, permissions string) File {
158
160
161
Directory: true,
162
163
164
Path: filepath.Join(tempDir, path),
165
166
167
168
0 commit comments