From d9a09e92bd9e1e449207a0ba6d2aa60692199734 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 15 Jul 2018 15:58:24 -0700 Subject: [PATCH] Add tests for all of the account actions --- .../assets/scripts/components/core/Modal.vue | 2 +- .../scripts/components/dashboard/Account.vue | 4 +- .../account/TwoFactorAuthentication.vue | 8 +- tests/Browser/Pages/Dashboard/AccountPage.php | 15 ++- .../Dashboard/AccountEmailProcessTest.php | 35 +++--- .../Dashboard/AccountPasswordProcessTest.php | 55 +++++++++ .../Processes/Dashboard/DashboardTestCase.php | 23 ++++ .../TwoFactorAuthenticationProcessTest.php | 111 ++++++++++++++++++ tests/Browser/PterodactylBrowser.php | 14 +++ 9 files changed, 243 insertions(+), 24 deletions(-) create mode 100644 tests/Browser/Processes/Dashboard/AccountPasswordProcessTest.php create mode 100644 tests/Browser/Processes/Dashboard/DashboardTestCase.php create mode 100644 tests/Browser/Processes/Dashboard/TwoFactorAuthenticationProcessTest.php diff --git a/resources/assets/scripts/components/core/Modal.vue b/resources/assets/scripts/components/core/Modal.vue index 586b18f06..3f7db17f6 100644 --- a/resources/assets/scripts/components/core/Modal.vue +++ b/resources/assets/scripts/components/core/Modal.vue @@ -2,7 +2,7 @@