Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
- stemcell api_version releated

[#159707963](https://www.pivotaltracker.com/story/show/159707963)

Signed-off-by: Andrew Su <asu@pivotal.io>
  • Loading branch information
Gaurab Dey authored and andrew-su committed Aug 10, 2018
1 parent 8d0d3b7 commit f092fac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/stemcell_repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ var _ = Describe("StemcellRepo", func() {
oldStemcellRecord := "{ID:fake-uuid-1 Name:fake-name Version:fake-version ApiVersion:1 CID:fake-cid}"
newStemcellRecord := "{ID:fake-uuid-2 Name:fake-name Version:fake-version ApiVersion:1 CID:fake-cid-2}"
errorString := fmt.Sprintf("Failed to save stemcell record '%s' (duplicate name/version), existing record found '%s'", newStemcellRecord, oldStemcellRecord)

Expect(err.Error()).To(Equal(errorString))
})
})
Expand Down
2 changes: 1 addition & 1 deletion integration/create_env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ cloud_provider:

deploymentState, err := deploymentStateService.Load()
Expect(err).ToNot(HaveOccurred())
Expect(deploymentState.Stemcells[0].ApiVersion).To(Equal("2"))
Expect(deploymentState.Stemcells[0].ApiVersion).To(Equal(2))
})
})
})
Expand Down

0 comments on commit f092fac

Please sign in to comment.