diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-10-11 18:42:44 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-10-12 11:18:22 +0000 |
| commit | 08f99e71bb600f1e2224c9cd9569c98683825701 (patch) | |
| tree | 3aca5d8f6b4368a64be91c1c3dda497f8abef15f /dashboard/app/app_test.go | |
| parent | 18729404a609b8da5977ab3f0e3a65a1a3540a53 (diff) | |
dashboard: check config's integrity during tests
Marshal the config at the installing and during getConfig() to ensure
that it's not accidentally changed during code execution.
Diffstat (limited to 'dashboard/app/app_test.go')
| -rw-r--r-- | dashboard/app/app_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go index 042e2c8da..1ebabe04f 100644 --- a/dashboard/app/app_test.go +++ b/dashboard/app/app_test.go @@ -34,6 +34,7 @@ func init() { isBrokenAuthDomainInTest = true obsoleteWhatWontBeFixBisected = true notifyAboutUnsuccessfulBisections = true + ensureConfigImmutability = true initMocks() installConfig(testConfig) } |
