From 53aec6372dc8b35128ef864773e49f68734ec317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Sa=C5=A1ek?= Date: Tue, 12 Oct 2021 14:15:58 +0200 Subject: [PATCH] Update tests --- src/common/WiFiSettings/__tests__/WiFiSettings.test.js | 3 +++ .../WiFiSettings/__tests__/__fixtures__/wifiSettings.js | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/src/common/WiFiSettings/__tests__/WiFiSettings.test.js b/src/common/WiFiSettings/__tests__/WiFiSettings.test.js index 6dd75d0..53c32ee 100644 --- a/src/common/WiFiSettings/__tests__/WiFiSettings.test.js +++ b/src/common/WiFiSettings/__tests__/WiFiSettings.test.js @@ -120,6 +120,7 @@ describe("", () => { hwmode: "11a", id: 0, password: "TestPass", + encryption: "WPA3", }, { enabled: false, id: 1 }, ], @@ -149,6 +150,7 @@ describe("", () => { hwmode: "11g", id: 0, password: "TestPass", + encryption: "WPA3", }, { enabled: false, id: 1 }, ], @@ -185,6 +187,7 @@ describe("", () => { hwmode: "11a", id: 0, password: "TestPass", + encryption: "WPA3", }, { enabled: false, id: 1 }, ], diff --git a/src/common/WiFiSettings/__tests__/__fixtures__/wifiSettings.js b/src/common/WiFiSettings/__tests__/__fixtures__/wifiSettings.js index 5ab81d5..7110c42 100644 --- a/src/common/WiFiSettings/__tests__/__fixtures__/wifiSettings.js +++ b/src/common/WiFiSettings/__tests__/__fixtures__/wifiSettings.js @@ -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", }, ], };