Fix tests and linting (#370)

* Fix license integration test
* Fix build tags in lint config
* Fix missing error checks
* Fix use of MarkNodeAsInitialized
* Fix attestation tests
* Add license integration test to cmake list
This commit is contained in:
Paul Meyer 2022-08-17 13:50:43 +02:00 committed by GitHub
parent 397c9013ea
commit 0969ff4ac3
9 changed files with 28 additions and 21 deletions

View file

@ -85,7 +85,7 @@ func TestPrepareExistingDisk(t *testing.T) {
openTPM: vtpm.OpenNOPTPM,
wantErr: true,
},
"MarkNodeAsInitialized fails": {
"MarkNodeAsBootstrapped fails": {
fs: afero.Afero{Fs: afero.NewMemMapFs()},
keyWaiter: &stubKeyWaiter{},
mapper: &stubMapper{uuid: "test"},