Skip to content

Commit 6d44a41

Browse files
committed
fixeS
1 parent 3643f92 commit 6d44a41

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

tests/cli_tests/zboxcli_create_allocation_test.go

-21
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,6 @@ func TestCreateAllocation(testSetup *testing.T) {
4545
createAllocationTestTeardown(t, allocationID)
4646
})
4747

48-
// todo: write a test case to create the allocation with invalid storage version should fail
49-
// tc is not working due to logic mismatch hardcoded version is passed in zxbox cli
50-
t.Run("Create allocation with invalid storage version should fail", func(t *test.SystemTest) {
51-
_ = setupWallet(t, configPath)
52-
53-
options := map[string]interface{}{
54-
"lock": "0.5",
55-
"size": "1024",
56-
"read_price": "0-1",
57-
"write_price": "0-1",
58-
"storage_version": -1,
59-
}
60-
61-
output, err := createNewAllocationWithoutRetry(t, configPath, createParams(options))
62-
require.NotNil(t, err, strings.Join(output, "\n"))
63-
64-
fmt.Println(output)
65-
require.Contains(t, output[len(output)-1], "invalid argument")
66-
})
67-
68-
t.Skip()
6948
t.Run("Create allocation for locking cost equal to the cost calculated should work", func(t *test.SystemTest) {
7049
_ = setupWallet(t, configPath)
7150

0 commit comments

Comments
 (0)