Skip to content

Commit

Permalink
Added a test
Browse files Browse the repository at this point in the history
  • Loading branch information
gapra-msft committed Jul 5, 2023
1 parent 0cce10f commit 8d04c47
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions e2etest/zt_client_provided_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,25 @@ func TestClient_ProvidedScopeDelete(t *testing.T) {
cpkByName: cpkByName,
}, &hooks{
beforeRunJob: func(h hookHelper) {
h.CreateFile(f("file1", with{cpkByName: cpkByName}), true)
h.CreateFile(f("file1.txt", with{cpkByName: cpkByName}), true)
h.CreateFile(f("file2.txt", with{cpkByName: cpkByName}), true)
h.CreateFile(f("folder1/file3", with{cpkByName: cpkByName}), true)
h.CreateFile(f("folder1/file4", with{cpkByName: cpkByName}), true)
h.CreateFile(f("folder2/file5", with{cpkByName: cpkByName}), true)
h.CreateFile(f("file6", with{cpkByName: cpkByName}), true)
},
}, testFiles{
defaultSize: "1K",
defaultSize: "100K",
shouldTransfer: []interface{}{
folder(""),
f("file1"),
f("file1.txt"),
f("file2.txt"),
folder("folder1"),
folder("folder2"),
f("folder1/file3"),
f("folder1/file4"),
f("folder2/file5"),
f("file6"),
},
}, EAccountType.Standard(), EAccountType.Standard(), "")
}
Expand Down

0 comments on commit 8d04c47

Please sign in to comment.