Still getting following errors, when running tests in local. Working on these...

Contribution Date
Technology
Contribution Project
Contribution Details

Still getting following errors, when running tests in local. Working on these.

PHPUnit 9.5.11 by Sebastian Bergmann and contributors. Runtime: PHP 7.4.27 Configuration: /app/phpunit.xml Warning: Your XML configuration validates against a deprecated schema. Suggestion: Migrate your XML configuration using "--migrate-configuration"! Testing /app/web/modules/contrib/login_destination ....EEEEEEE...E 15 / 15 (100%) Time: 01:58.396, Memory: 10.00 MB There were 8 errors: 1) Drupal\Tests\login_destination\Functional\RedirectTest::testRedirectAfterRegistering TypeError: Argument 1 passed to Drupal\Tests\BrowserTestBase::submitForm() must be of the type array, string given, called in /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php on line 109 /app/web/core/tests/Drupal/Tests/UiHelperTrait.php:67 /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php:109 /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php:163 /app/vendor/phpunit/phpunit/src/Framework/TestResult.php:726 2) Drupal\Tests\login_destination\Functional\RedirectTest::testNoRedirectAfterRegistering TypeError: Argument 1 passed to Drupal\Tests\BrowserTestBase::submitForm() must be of the type array, string given, called in /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php on line 109 /app/web/core/tests/Drupal/Tests/UiHelperTrait.php:67 /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php:109 /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php:190 /app/vendor/phpunit/phpunit/src/Framework/TestResult.php:726 3) Drupal\Tests\login_destination\Functional\RedirectTest::testRedirectAfterOneTimeLoginAndSettingPassword TypeError: Argument 1 passed to Drupal\Tests\BrowserTestBase::submitForm() must be of the type array, string given, called in /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php on line 206 /app/web/core/tests/Drupal/Tests/UiHelperTrait.php:67 /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php:206 /app/vendor/phpunit/phpunit/src/Framework/TestResult.php:726 4) Drupal\Tests\login_destination\Functional\RedirectTest::testNoRedirectAfterOneTimeLoginAndSettingPassword TypeError: Argument 1 passed to Drupal\Tests\BrowserTestBase::submitForm() must be of the type array, string given, called in /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php on line 244 /app/web/core/tests/Drupal/Tests/UiHelperTrait.php:67 /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php:244 /app/vendor/phpunit/phpunit/src/Framework/TestResult.php:726 5) Drupal\Tests\login_destination\Functional\RedirectTest::testRedirectImmediatelyAfterOneTimeLogin TypeError: Argument 1 passed to Drupal\Tests\BrowserTestBase::submitForm() must be of the type array, string given, called in /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php on line 277 /app/web/core/tests/Drupal/Tests/UiHelperTrait.php:67 /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php:277 /app/vendor/phpunit/phpunit/src/Framework/TestResult.php:726 6) Drupal\Tests\login_destination\Functional\RedirectTest::testNoRedirectImmediatelyAfterOneTimeLogin TypeError: Argument 1 passed to Drupal\Tests\BrowserTestBase::submitForm() must be of the type array, string given, called in /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php on line 306 /app/web/core/tests/Drupal/Tests/UiHelperTrait.php:67 /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php:306 /app/vendor/phpunit/phpunit/src/Framework/TestResult.php:726 7) Drupal\Tests\login_destination\Functional\RedirectTest::testNoRedirectAfterUpdatingAccountWithoutLoginLink TypeError: Argument 1 passed to Drupal\Tests\BrowserTestBase::submitForm() must be of the type array, string given, called in /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php on line 329 /app/web/core/tests/Drupal/Tests/UiHelperTrait.php:67 /app/web/modules/contrib/login_destination/tests/src/Functional/RedirectTest.php:329 /app/vendor/phpunit/phpunit/src/Framework/TestResult.php:726 8) Drupal\Tests\login_destination\Functional\UrlParameterTest::testNoParameterOnUnroutedLink TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertNotContains() must be iterable, string given, called in /app/web/modules/contrib/login_destination/tests/src/Functional/UrlParameterTest.php on line 35 /app/web/modules/contrib/login_destination/tests/src/Functional/UrlParameterTest.php:35 /app/vendor/phpunit/phpunit/src/Framework/TestResult.php:726 ERRORS! Tests: 15, Assertions: 108, Errors: 8.
Issue Status
Needs work
Contribution Author
Files count
0
Patches count
0