Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smaulik13 committed Jan 31, 2025
1 parent 4250d8a commit 04a4ddb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/cli_tests/zboxcli_create_allocation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,15 +444,8 @@ func createNewAllocation(t *test.SystemTest, cliConfigFilename, params string) (

func createNewAllocationForWallet(t *test.SystemTest, wallet, cliConfigFilename, params string) ([]string, error) {
t.Logf("Creating new allocation...")
enterprise := "--enterprise true" // Replace "new_field" and "1234" with your desired key and value
if params != "" {
params += " " + enterprise // Append the new field with a space separator
} else {
params = enterprise // If params is empty, just set the new field
}
fmt.Printf("new allocation params... %s", params)
return cliutils.RunCommand(t, fmt.Sprintf(
"./zbox newallocation %s --silent --wallet %s --configDir ./config --config %s --allocationFileName %s",
"./zbox newallocation %s --silent --wallet %s --configDir ./config --config %s --allocationFileName %s --enterprise",
params,
wallet+"_wallet.json",
cliConfigFilename,
Expand Down

0 comments on commit 04a4ddb

Please sign in to comment.