summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-02-15 09:44:46 +0100
committeranderklander <anderklander@gmail.com>2018-02-15 16:02:03 +0100
commit1eab34a1cbd2480a4afc9bb9b6d8db810c8342be (patch)
tree92de24f6eb4003722525346fe212d65608b2dbfa /app
parentd145ab23311da29705498d3e92d26a6f5ea461c1 (diff)
downloadmullvadvpn-1eab34a1cbd2480a4afc9bb9b6d8db810c8342be.tar.xz
mullvadvpn-1eab34a1cbd2480a4afc9bb9b6d8db810c8342be.zip
Fix tests
Diffstat (limited to 'app')
-rw-r--r--app/components/Settings.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js
index 7e72d620cd..520e18942e 100644
--- a/app/components/Settings.js
+++ b/app/components/Settings.js
@@ -80,16 +80,16 @@ export default class Settings extends Component {
<View style={styles.settings_account} testName='settings__account'>
{isOutOfTime ? (
<CellButton onPress={ this.props.onViewAccount }
- testName='settings__account_paid_until_label'>
+ testName='settings__account_paid_until_button'>
<Label>Account</Label>
- <SubText style={styles.settings__account_paid_until_label__error}>OUT OF TIME</SubText>
+ <SubText testName='settings__account_paid_until_subtext' style={styles.settings__account_paid_until_label__error}>OUT OF TIME</SubText>
<Icon height='12' width='7' source='icon-chevron' />
</CellButton>
) : (
<CellButton onPress={ this.props.onViewAccount }
- testName='settings__account_paid_until_label'>
+ testName='settings__account_paid_until_button'>
<Label>Account</Label>
- <SubText>{ formattedExpiry }</SubText>
+ <SubText testName='settings__account_paid_until_subtext'>{ formattedExpiry }</SubText>
<Icon height='12' width='7' source='icon-chevron' />
</CellButton>
)}