Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxana Meixner committed May 14, 2021
1 parent d5c53a5 commit f035932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
)

const expectedConfig = `{"devices":null,"secret":"MTIzNDU2Nzg5MDU2Nzg5MA==","env":"","DSN":{"Host":"","User":"","Password":"","database":""},"CSR_country":"","CSR_organization":"","TCP_addr":"","TLS":false,"TLSCertFile":"","TLSKeyFile":"","CORS":false,"CORS_origins":null,"debug":false,"logTextFormat":false,"SecretBytes":null,"KeyService":"","IdentityService":"","Niomon":"","VerifyService":"","ConfigDir":""}`
const expectedConfig = `{"devices":null,"secret":"MTIzNDU2Nzg5MDU2Nzg5MA==","secret32":"VsCwmGssk7Ho2APyq1reGAKkB/+e8GlRfhM3NbYQWPU=","registerAuth":"test123","env":"","DSN_InitDb":false,"DSN_Host":"","DSN_User":"","DSN_Password":"","DSN_Database":"","CSR_country":"","CSR_organization":"","TCP_addr":"","TLS":false,"TLSCertFile":"","TLSKeyFile":"","CORS":false,"CORS_origins":null,"debug":false,"logTextFormat":false,"SecretBytes32":null,"KeyService":"","IdentityService":"","Niomon":"","VerifyService":"","ConfigDir":""}`

func TestConfig(t *testing.T) {
configBytes := []byte(expectedConfig)
Expand Down

0 comments on commit f035932

Please sign in to comment.