Skip to content

Commit

Permalink
Removing unused class and updating tests to use correct flag name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Chatham committed Dec 3, 2024
1 parent 0066af2 commit dfee08f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 39 deletions.
33 changes: 0 additions & 33 deletions pkg/admin/add.go

This file was deleted.

12 changes: 6 additions & 6 deletions pkg/user/appointee/can_call_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ func TestCanCallCmd_Success(t *testing.T) {
args := []string{
"TestCanCallCmd_Success",
"can-call",
"--user-address", "0x1234567890abcdef1234567890abcdef12345678",
"--account-address", "0x1234567890abcdef1234567890abcdef12345678",
"--caller-address", "0x9876543210fedcba9876543210fedcba98765432",
"--target", "0xabcdef1234567890abcdef1234567890abcdef12",
"--target-address", "0xabcdef1234567890abcdef1234567890abcdef12",
"--selector", "test",
"--network", "holesky",
}
Expand All @@ -78,9 +78,9 @@ func TestCanCallCmd_UserCanCallError(t *testing.T) {
args := []string{
"TestCanCallCmd_UserCanCallError",
"can-call",
"--user-address", "0x1234567890abcdef1234567890abcdef12345678",
"--account-address", "0x1234567890abcdef1234567890abcdef12345678",
"--caller-address", "0x9876543210fedcba9876543210fedcba98765432",
"--target", "0xabcdef1234567890abcdef1234567890abcdef12",
"--target-address", "0xabcdef1234567890abcdef1234567890abcdef12",
"--selector", "test",
}

Expand All @@ -100,9 +100,9 @@ func TestCanCallCmd_InvalidSelector(t *testing.T) {
args := []string{
"TestCanCallCmd_InvalidSelector",
"can-call",
"--user-address", "0x1234567890abcdef1234567890abcdef12345678",
"--account-address", "0x1234567890abcdef1234567890abcdef12345678",
"--caller-address", "0x9876543210fedcba9876543210fedcba98765432",
"--target", "0xabcdef1234567890abcdef1234567890abcdef12",
"--target-address", "0xabcdef1234567890abcdef1234567890abcdef12",
"--selector", "too-long",
}

Expand Down

0 comments on commit dfee08f

Please sign in to comment.