Skip to content

Commit

Permalink
tests: use address of int value
Browse files Browse the repository at this point in the history
  • Loading branch information
Kola Segun authored and FelisiaM committed Sep 10, 2020
1 parent 5019c26 commit d700a98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion domain/service_catalog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
"github.com/pivotal-cf/brokerapi/v7/domain"
)

var maximumPollingDuration = 3600

var _ = Describe("ServiceCatalog", func() {
Describe("Service", func() {
Describe("JSON encoding", func() {
Expand Down Expand Up @@ -104,7 +106,7 @@ var _ = Describe("ServiceCatalog", func() {
Bullets: []string{"hello", "its me"},
DisplayName: "name",
},
MaximumPollingDuration: 3600,
MaximumPollingDuration: &maximumPollingDuration,
MaintenanceInfo: &domain.MaintenanceInfo{
Public: map[string]string{
"name": "foo",
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/pivotal-cf/brokerapi/v7

go 1.15

require (
code.cloudfoundry.org/lager v1.1.1-0.20191008172124-a9afc05ee5be
github.com/drewolson/testflight v1.0.0
Expand Down

0 comments on commit d700a98

Please sign in to comment.