veyron/services/mgmt/application/applicationd: fix v23 integration test
After https://vanadium-review.googlesource.com/#/c/4300 changed the envelope
format.
Change-Id: I72c6c99056df5ed1870fdf74de8c76b86ceeec1b
diff --git a/services/mgmt/application/applicationd/applicationd_v23_test.go b/services/mgmt/application/applicationd/applicationd_v23_test.go
index 2f521bd..e6c6a46 100644
--- a/services/mgmt/application/applicationd/applicationd_v23_test.go
+++ b/services/mgmt/application/applicationd/applicationd_v23_test.go
@@ -84,7 +84,7 @@
if err != nil {
i.Fatal(err)
}
- sigJSON, err := json.MarshalIndent(sig, " ", " ")
+ sigJSON, err := json.MarshalIndent(sig, " ", " ")
if err != nil {
i.Fatal(err)
}
@@ -99,8 +99,10 @@
wantEnvelope := `{
"Title": "title",
"Args": null,
- "Binary": "foo",
- "Signature": ` + string(sigJSON) + `,
+ "Binary": {
+ "File": "foo",
+ "Signature": ` + string(sigJSON) + `
+ },
"Publisher": ` + string(pubJSON) + `,
"Env": null,
"Packages": null