Fix PATCH embed when not having the id in ?select

This commit is contained in:
steve-chavez
2019-09-28 13:45:18 -05:00
committed by Steve Chávez
parent f080159268
commit d71d3450af
2 changed files with 8 additions and 3 deletions
+1 -2
View File
@@ -633,8 +633,7 @@ spec actualPgVersion = do
matchHeaders = [matchContentTypeJson]
}
it "embeds childs after update without explicitly including the id in the ?select" $ do
pendingWith "currently failing"
it "embeds childs after update without explicitly including the id in the ?select" $
request methodPatch "/web_content?id=eq.0&select=name,web_content(name)"
[("Prefer", "return=representation")]
[json|{"name": "tardis-patched"}|]