test: add test for duplicate entries in pg_description with same OID
This commit is contained in:
committed by
Steve Chavez
parent
8390df0fa5
commit
8b63ea82ec
@@ -1450,3 +1450,11 @@ spec =
|
||||
{ matchStatus = 200
|
||||
, matchHeaders = [matchContentTypeJson]
|
||||
}
|
||||
|
||||
context "schema cache duplicate definitions when two entries in pg_description have the same OID" $
|
||||
it "doesn't err with 300 Multiple Choices" $
|
||||
request methodGet "/rpc/collision_test_func?id=1"
|
||||
[] ""
|
||||
`shouldRespondWith`
|
||||
[json| 1 |]
|
||||
{ matchStatus = 200 }
|
||||
|
||||
Reference in New Issue
Block a user