Skip to content

Commit 499313b

Browse files
mariashjrussett
authored andcommitted
Test LastUpdated has been called
1 parent ba141e7 commit 499313b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/code.cloudfoundry.org/policy-server/handlers/policies_last_updated_internal_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ var _ = Describe("PoliciesLastUpdatedInternal", func() {
6161
Expect(err).NotTo(HaveOccurred())
6262
handler.ServeHTTP(resp, request)
6363

64+
Expect(fakeStore.LastUpdatedCallCount()).To(Equal(1))
6465
Expect(resp.Code).To(Equal(http.StatusOK))
6566
Expect(resp.Body.Bytes()).To(Equal(expectedResponseBody))
6667
})

0 commit comments

Comments
 (0)