Skip to content

Commit

Permalink
test: getserialnumber via smbios
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
  • Loading branch information
glimchb committed Jun 20, 2024
1 parent 4c114e0 commit 33b5b5c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sztp-agent/pkg/secureagent/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,20 @@ func TestAgent_GetSerialNumber(t *testing.T) {
},
want: "testSerialNumber",
},
{
name: "Test SMBIOS GetSerialNumber ",
fields: fields{
BootstrapURL: "test",
SerialNumber: "",
DevicePassword: "test",
DevicePrivateKey: "test",
DeviceEndEntityCert: "test",
BootstrapTrustAnchorCert: "test",
ContentTypeReq: "test",
InputJSONContent: "test",
},
want: "",
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand Down

0 comments on commit 33b5b5c

Please sign in to comment.