Skip to content

Commit

Permalink
updated test with spec context
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Dec 24, 2024
1 parent 3edcb50 commit 259203b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/driver/identity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ var _ = Describe("Identity Server DriverGetInfo", func() {
Expect(err).ToNot(HaveOccurred())
})

It("should handle nil request gracefully", func() {
resp, err := server.DriverGetInfo(context.Background(), nil)
It("should handle nil request gracefully", func(ctx SpecContext) {
resp, err := server.DriverGetInfo(ctx, nil)
Expect(err).ToNot(HaveOccurred())
Expect(resp).ToNot(BeNil())
Expect(resp.Name).To(Equal("scality-cosi-driver"))
Expand Down

0 comments on commit 259203b

Please sign in to comment.