mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-24 15:13:07 +01:00
fix failing test because of whitespace in randstring
This commit is contained in:
1 parent
560f3d9b29
commit
6d0bf1c68b
2 files changed
+2
No files matched your search
@@ -10,6 +10,7 @@ describe('Settings endpoints', () => {
|
|||||||
});
|
});
|
||||||
cy.randomString(12).then((str) => {
|
cy.randomString(12).then((str) => {
|
||||||
settingName = 'cypressSetting_' + str;
|
settingName = 'cypressSetting_' + str;
|
||||||
|
settingName = settingName.trim();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ describe('Users endpoints', () => {
|
|||||||
});
|
});
|
||||||
cy.randomString(10).then((str) => {
|
cy.randomString(10).then((str) => {
|
||||||
uniqueEmail = 'jc_' + str + '@example.com';
|
uniqueEmail = 'jc_' + str + '@example.com';
|
||||||
|
uniqueEmail = uniqueEmail.trim();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user