Rename "commands" to "command"
This commit is contained in:
parent
1554b7c21b
commit
ea4b7de4ac
8 changed files with 159 additions and 159 deletions
|
@ -83,7 +83,7 @@ func TestServer_Command(t *testing.T) {
|
|||
err := serv.Request("POST", "register", &rove.RegisterRequest{Name: acc}, &rove.RegisterResponse{})
|
||||
assert.NoError(t, err, "First register attempt should pass")
|
||||
|
||||
err = serv.Request("POST", "commands", &rove.CommandsRequest{
|
||||
err = serv.Request("POST", "command", &rove.CommandRequest{
|
||||
Account: acc,
|
||||
Commands: []*rove.Command{
|
||||
{
|
||||
|
@ -91,7 +91,7 @@ func TestServer_Command(t *testing.T) {
|
|||
Bearing: "NE",
|
||||
},
|
||||
},
|
||||
}, &rove.CommandsResponse{})
|
||||
}, &rove.CommandResponse{})
|
||||
assert.NoError(t, err, "Commands should should pass")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue