зеркало из https://github.com/Azure/BatchExplorer.git
Make CryptoService tests use a more obviously fake key for tests
This commit is contained in:
Родитель
90c2715fcd
Коммит
e1605c1fc1
|
@ -7,7 +7,8 @@ describe("CryptoService", () => {
|
|||
let masterKey: string | null = null;
|
||||
|
||||
beforeEach(() => {
|
||||
masterKey = "fbea88f2f4efeb0640cb411aa7df41cb";
|
||||
// Fake testing key needs to be 32 characters long
|
||||
masterKey = "------fake-key-for-testing------";
|
||||
keytarSpy = {
|
||||
setPassword: jasmine.createSpy("setPassword").and.callFake((x) => {
|
||||
masterKey = x;
|
||||
|
|
Загрузка…
Ссылка в новой задаче