Skip to content

Commit

Permalink
Update testcase
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Feb 21, 2024
1 parent 41ed21a commit d851906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ var _ = Describe("Tests for Prometheus", func() {
_, err := NewClient(url, token, username, password, tlsSkipVerify)
//Asserting no of times mocks are called
Expect(count).To(BeEquivalentTo(0))
Expect(err.Error()).To(ContainSubstring("Get \"/api/v1/status/runtimeinfo\": unsupported protocol scheme \"\""))
Expect(err.Error()).To(ContainSubstring("Post \"/api/v1/query\": unsupported protocol scheme \"\""))
})

It("Test2 passing not valid url", func() {
Expand Down

0 comments on commit d851906

Please sign in to comment.