summaryrefslogtreecommitdiffhomepage
path: root/test/components
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-11-20 09:56:08 +0100
committerAndrej Mihajlov <and@mullvad.net>2017-11-23 12:41:13 +0100
commit908d5739527f17363cfd7ef4f9ff14783119b66a (patch)
tree1ad0753226dbb8e13684c82b9c348eeb690a356d /test/components
parentb7c20c6cfa6c31e82286fb4e11164a43d234d348 (diff)
downloadmullvadvpn-908d5739527f17363cfd7ef4f9ff14783119b66a.tar.xz
mullvadvpn-908d5739527f17363cfd7ef4f9ff14783119b66a.zip
Rename RelayConstraints -> RelaySettings
Diffstat (limited to 'test/components')
-rw-r--r--test/components/Connect.spec.js4
-rw-r--r--test/components/SelectLocation.spec.js2
-rw-r--r--test/components/Settings.spec.js2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/components/Connect.spec.js b/test/components/Connect.spec.js
index 4b84b3b8da..9567ab9fb7 100644
--- a/test/components/Connect.spec.js
+++ b/test/components/Connect.spec.js
@@ -107,7 +107,7 @@ describe('components/Connect', () => {
component.setProps({
settings: {
- relayConstraints: {
+ relaySettings: {
host: 'se1.mullvad.net',
},
},
@@ -186,7 +186,7 @@ const defaultProps = {
accountExpiry: '',
settings: {
- relayConstraints: {
+ relaySettings: {
host: 'www.example.com',
port: 'any',
protocol: 'any',
diff --git a/test/components/SelectLocation.spec.js b/test/components/SelectLocation.spec.js
index 28c9299807..e182e74822 100644
--- a/test/components/SelectLocation.spec.js
+++ b/test/components/SelectLocation.spec.js
@@ -10,7 +10,7 @@ import type { SelectLocationProps } from '../../app/components/SelectLocation';
describe('components/SelectLocation', () => {
const state: SettingsReduxState = {
- relayConstraints: {
+ relaySettings: {
host: 'any',
port: 'any',
protocol: 'any',
diff --git a/test/components/Settings.spec.js b/test/components/Settings.spec.js
index 5d29aa0dd6..18c409ee70 100644
--- a/test/components/Settings.spec.js
+++ b/test/components/Settings.spec.js
@@ -35,7 +35,7 @@ describe('components/Settings', () => {
};
const settingsState: SettingsReduxState = {
- relayConstraints: {
+ relaySettings: {
host: 'any',
port: 'any',
protocol: 'any',