Summary: change test to call correct endpoint

Reviewed By: YousefSalama

Differential Revision: D44915161

fbshipit-source-id: 81deaf9ab1b66a1cc5fdff2fbd1eedc0c1aef79d
This commit is contained in:
Liubov Dmitrieva 2023-04-12 14:39:46 -07:00 committed by Facebook GitHub Bot
parent 2b62b4294c
commit 39687024b1

View File

@ -28,7 +28,7 @@ Test clone and other pull related endpoints
"high": 2,
"parents": []}]}}
$ hgedenapi debugapi -e commitgraph -i '["26805aba1e600a82e93661149f2313866a221a7b"]' -i '[]' --sort
$ hgedenapi debugapi -e commitgraph2 -i '["26805aba1e600a82e93661149f2313866a221a7b"]' -i '[]' --sort
[{"hgid": bin("26805aba1e600a82e93661149f2313866a221a7b"),
"parents": [bin("112478962961147124edd43549aedd1a335e44bf")],
"is_draft": False},
@ -38,7 +38,7 @@ Test clone and other pull related endpoints
{"hgid": bin("112478962961147124edd43549aedd1a335e44bf"),
"parents": [bin("426bada5c67598ca65036d57d9e4b64b0c1ce7a0")],
"is_draft": False}]
$ hgedenapi debugapi -e commitgraph -i '["26805aba1e600a82e93661149f2313866a221a7b"]' -i '["426bada5c67598ca65036d57d9e4b64b0c1ce7a0"]' --sort
$ hgedenapi debugapi -e commitgraph2 -i '["26805aba1e600a82e93661149f2313866a221a7b"]' -i '["426bada5c67598ca65036d57d9e4b64b0c1ce7a0"]' --sort
[{"hgid": bin("26805aba1e600a82e93661149f2313866a221a7b"),
"parents": [bin("112478962961147124edd43549aedd1a335e44bf")],
"is_draft": False},