diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-08-17 11:27:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 11:27:43 +0300 |
commit | e3655d38f78b6a2a027c1f35f70ce4cbe29d101b (patch) | |
tree | d9e8b1831ab49489cbcdac82ea299dbca3728f3d /tests/PHPUnit/Integration | |
parent | a9231fddb874d3794593fe27374f3e98139b1fd5 (diff) |
[Vue] remove use of angularjs from TwoFactorAuth plugin (#19382)
* convert twig templates using directives to vue components, remove angularjs adapters and modify less styles that use directive attribute names
* built vue files
* move use of angularjs directives in TwoFactorAuth twig templates to new vue components and add vue component for Logins formErrors.twig template
* built vue files
* add missing translations
* fixing UI tests
* more UI test fixex
* remove reference to nonexistant JS file
* updated expected screenshots
* fixing ui test failures
* update expected screenshots
* fixing ui test failures
* fix select on focus use
* fix placement of computed property
* fixing ui test issues
* prevent random failure
* make sure Login plugin UMD is always loaded
* formErrors is an object if supplied
* compile vue entry components in reset API response and modify check for success
* rebuild login
* update expected screenshot
* remove unneeded use of html_attr escape
* remove use of html_attr and remove duplicate client side translation token entries
* sort used js translations and remove duplicates
* Update plugins/TwoFactorAuth/vue/src/LoginTwoFactorAuth/LoginTwoFactorAuth.vue
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* Update plugins/TwoFactorAuth/vue/src/UserSettings/UserSettings.vue
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* Update plugins/TwoFactorAuth/vue/src/ShowRecoveryCodes/ShowRecoveryCodesPage.vue
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* Update plugins/TwoFactorAuth/vue/src/SetupFinished/SetupFinished.vue
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* built vue files
* adds missing sanitize
* fix AssetManagerTest
* try to fix issue with umd asset fetching if Login not loaded
* cs
* updates expected test files
Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'tests/PHPUnit/Integration')
-rw-r--r-- | tests/PHPUnit/Integration/AssetManagerTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/PHPUnit/Integration/AssetManagerTest.php b/tests/PHPUnit/Integration/AssetManagerTest.php index b08bcdc9a5..f158e08601 100644 --- a/tests/PHPUnit/Integration/AssetManagerTest.php +++ b/tests/PHPUnit/Integration/AssetManagerTest.php @@ -206,6 +206,7 @@ class AssetManagerTest extends IntegrationTestCase { $this->pluginManager->setPlugins( array( + new PluginMock('Login'), // PluginUmdAssetFetcher assumes Login is always available $this->getCoreTheme()->getPlugin(), $this->getNonCoreTheme()->getPlugin(), $this->getCorePlugin(), |