Skip to content

Commit 9fd2b5b

Browse files
authored
Merge pull request #155 from ethpandaops/fix/test-display
test(install): update finished page test to expect attestation opt-in parent
2 parents 3050727 + 4a415c2 commit 9fd2b5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/cli/commands/install/page_60_finished_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func TestFinishedPage(t *testing.T) {
3333
}
3434

3535
display.outputServerCredentialsPage = NewOutputServerCredentialsPage(display)
36+
display.attestationOptInPage = NewAttestationOptInPage(display)
3637

3738
return display
3839
}
@@ -73,6 +74,6 @@ func TestFinishedPage(t *testing.T) {
7374
page := NewFinishedPage(mockDisplay)
7475

7576
// Verify parent page is set correctly.
76-
assert.Equal(t, "install-credentials", page.page.Parent.ID)
77+
assert.Equal(t, "install-attestation", page.page.Parent.ID)
7778
})
7879
}

0 commit comments

Comments
 (0)