Skip to content

Commit

Permalink
Merge pull request #3480 from loomnetwork/fix-jobs-tests
Browse files Browse the repository at this point in the history
jobs tests were sending invalid jobs
  • Loading branch information
chelseakomlo authored Nov 8, 2017
2 parents fad4a33 + 3b690ba commit c32486b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/jobs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ func TestJobs_Canonicalize(t *testing.T) {
Driver: "docker",
Config: map[string]interface{}{
"image": "redis:3.2",
"port_map": map[string]int{
"port_map": []map[string]int{{
"db": 6379,
},
}},
},
Resources: &Resources{
CPU: helper.IntToPtr(500),
Expand Down Expand Up @@ -347,9 +347,9 @@ func TestJobs_Canonicalize(t *testing.T) {
Driver: "docker",
Config: map[string]interface{}{
"image": "redis:3.2",
"port_map": map[string]int{
"port_map": []map[string]int{{
"db": 6379,
},
}},
},
Resources: &Resources{
CPU: helper.IntToPtr(500),
Expand Down

0 comments on commit c32486b

Please sign in to comment.