1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-11-14 17:35:35 +01:00

Update tests

This commit is contained in:
Marek Sašek 2021-10-12 14:15:58 +02:00
parent a7d7e59028
commit 53aec6372d
No known key found for this signature in database
GPG Key ID: 8791897AFCF3602F
2 changed files with 11 additions and 0 deletions

View File

@ -120,6 +120,7 @@ describe("<WiFiSettings/>", () => {
hwmode: "11a",
id: 0,
password: "TestPass",
encryption: "WPA3",
},
{ enabled: false, id: 1 },
],
@ -149,6 +150,7 @@ describe("<WiFiSettings/>", () => {
hwmode: "11g",
id: 0,
password: "TestPass",
encryption: "WPA3",
},
{ enabled: false, id: 1 },
],
@ -185,6 +187,7 @@ describe("<WiFiSettings/>", () => {
hwmode: "11a",
id: 0,
password: "TestPass",
encryption: "WPA3",
},
{ enabled: false, id: 1 },
],

View File

@ -230,6 +230,7 @@ export function wifiSettingsFixture() {
hwmode: "11a",
id: 0,
password: "TestPass",
encryption: "WPA3",
},
{
SSID: "Turris",
@ -308,6 +309,7 @@ export function wifiSettingsFixture() {
hwmode: "11g",
id: 1,
password: "TestPass",
encryption: "WPA3",
},
],
};
@ -324,6 +326,7 @@ const oneDevice = {
hwmode: "11a",
id: 0,
password: "TestPass",
encryption: "WPA3",
},
],
};
@ -340,6 +343,7 @@ const twoDevices = {
hwmode: "11a",
id: 0,
password: "TestPass",
encryption: "WPA3",
},
{
SSID: "Turris2",
@ -351,6 +355,7 @@ const twoDevices = {
hwmode: "11a",
id: 1,
password: "TestPass",
encryption: "WPA3",
},
],
};
@ -367,6 +372,7 @@ const threeDevices = {
hwmode: "11a",
id: 0,
password: "TestPass",
encryption: "WPA3",
},
{
SSID: "Turris2",
@ -378,6 +384,7 @@ const threeDevices = {
hwmode: "11a",
id: 1,
password: "TestPass",
encryption: "WPA3",
},
{
SSID: "Turris3",
@ -389,6 +396,7 @@ const threeDevices = {
hwmode: "11a",
id: 2,
password: "",
encryption: "WPA3",
},
],
};