test/main: update registrations test
There was previously a bug in the Insights client configuration stage
which omitted a key [1]. A testcase hardcoded this invalid format. Let's
update it to the expected value.
[1]: 389b629ce2
Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
parent
89ce20101b
commit
33f7822c28
1 changed files with 1 additions and 1 deletions
|
|
@ -1048,7 +1048,7 @@ func TestManifestIntegrationWithRegistrations(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
|
||||
// XXX: manifesttest really needs to grow more helpers
|
||||
assert.Contains(t, fakeStdout.String(), `{"type":"org.osbuild.insights-client.config","options":{"proxy":"proxy_123"}}`)
|
||||
assert.Contains(t, fakeStdout.String(), `{"type":"org.osbuild.insights-client.config","options":{"config":{"proxy":"proxy_123"}}}`)
|
||||
assert.Contains(t, fakeStdout.String(), `"type":"org.osbuild.systemd.unit.create","options":{"filename":"osbuild-subscription-register.service"`)
|
||||
assert.Contains(t, fakeStdout.String(), `server_url_123`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue