Feature/22 test handling incoming events #30
@ -29,7 +29,7 @@ var _ = Describe("Pgx", func() {
|
|||||||
_, err := postgres.NewPostgresDB(postgres.Config{
|
_, err := postgres.NewPostgresDB(postgres.Config{
|
||||||
Driver: "PGX",
|
Driver: "PGX",
|
||||||
})
|
})
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).To(HaveOccurred())
|
||||||
|
|
||||||
present, err := doesContainsSubstring(err.Error(), sql.DbConnectionFailedMsg)
|
present, err := doesContainsSubstring(err.Error(), sql.DbConnectionFailedMsg)
|
||||||
Expect(present).To(BeTrue())
|
Expect(present).To(BeTrue())
|
||||||
|
Loading…
Reference in New Issue
Block a user