Update test to have failed as expected.

This commit is contained in:
Abdul Rabbani 2022-05-12 09:44:22 -04:00
parent 27c46a4460
commit ce21a8d343

View File

@ -29,7 +29,7 @@ var _ = Describe("Pgx", func() {
_, err := postgres.NewPostgresDB(postgres.Config{
Driver: "PGX",
})
Expect(err).NotTo(HaveOccurred())
Expect(err).To(HaveOccurred())
present, err := doesContainsSubstring(err.Error(), sql.DbConnectionFailedMsg)
Expect(present).To(BeTrue())