Skip to content

Commit

Permalink
Address ginkgo v2 deprecation warnings
Browse files Browse the repository at this point in the history
CurrentGinkgoTestDescription() is deprecated in V2 and should be
replaced with CurrentSpecReport().
  • Loading branch information
rhafer committed Feb 23, 2022
1 parent 6db5181 commit 169bcdb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/integration/grpc/gateway_storageprovider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ var _ = Describe("gateway", func() {

AfterEach(func() {
for _, r := range revads {
Expect(r.Cleanup(CurrentGinkgoTestDescription().Failed)).To(Succeed())
Expect(r.Cleanup(CurrentSpecReport().Failed())).To(Succeed())
}
})

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/grpc/storageprovider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ var _ = Describe("storage providers", func() {

AfterEach(func() {
for _, r := range revads {
Expect(r.Cleanup(CurrentGinkgoTestDescription().Failed)).To(Succeed())
Expect(r.Cleanup(CurrentSpecReport().Failed())).To(Succeed())
}
})

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/grpc/userprovider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var _ = Describe("user providers", func() {

AfterEach(func() {
for _, r := range revads {
Expect(r.Cleanup(CurrentGinkgoTestDescription().Failed))
Expect(r.Cleanup(CurrentSpecReport().Failed())).To(Succeed())
}
})

Expand Down

0 comments on commit 169bcdb

Please sign in to comment.