Skip to content

Commit

Permalink
Fix E2E test
Browse files Browse the repository at this point in the history
  • Loading branch information
Olshansk committed Jan 17, 2025
1 parent 513b849 commit 20a0d3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e/tests/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,10 @@ func (s *suite) getStakedAmount(actorType, accName string) (int, bool) {

listCommand := fmt.Sprintf("list-%s", actorType)
// TODO_TECHDEBT(@olshansky): As of #1028, we started migrating some parts
// of the CLI to use AutoCLI.
// of the CLI to use AutoCLI which made list commands pluralized.
// E.g. "list-suppliers" instead of "list-supplier".
// Over time, all actor commands will be updated like so and this if can
// be removed.
if actorType == suppliertypes.ModuleName {
listCommand = fmt.Sprintf("%ss", listCommand)
}
Expand Down

0 comments on commit 20a0d3f

Please sign in to comment.