8 pass, 2 fail

DrupalCI console output and artifacts are no longer available from dispatcher.drupalci.org. Use GitLab CI instead

32SMTP.SMTP
2SMTP.Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest
Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest
exception: [Other] Line 0 of sites/default/files/simpletest/phpunit-2.xml:
PHPUnit Test failed to complete; Error: PHPUnit 7.5.20 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest
EEEEEEEEEEEEEE                                                    14 / 14 (100%)

Time: 280 ms, Memory: 6.00 MB

There were 14 errors:

1) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testGetComponents with data set #0 ('name@example.com', array('', 'name@example.com'))
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 131 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:131

2) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testGetComponents with data set #1 (' name@example.com', array('', 'name@example.com', 'name@example.com'))
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 131 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:131

3) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testGetComponents with data set #2 ('name@example.com ', array('', 'name@example.com', 'name@example.com'))
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 131 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:131

4) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testGetComponents with data set #3 ('some name ', array('some name', 'address@example.com'))
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 131 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:131

5) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testGetComponents with data set #4 ('"some name" ', array('some name', 'address@example.com'))
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 131 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:131

6) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testGetComponents with data set #5 ('', array('', 'address@example.com'))
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 131 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:131

7) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testMailValidator with data set "Without umlauts, PHPMailer default validator, no exception" ('test@drupal.org', 'PhpUnit Localhost ', Drupal\Tests\smtp\Unit\Plugin\Mail\EmailValidatorPhpMailerDefault Object (), null)
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 222 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:222

8) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testMailValidator with data set "With umlauts in local part, PHPMailer default validator, exception" ('testmüller@drupal.org', 'PhpUnit Localhost ', Drupal\Tests\smtp\Unit\Plugin\Mail\EmailValidatorPhpMailerDefault Object (), 'PHPMailer\PHPMailer\Exception')
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 222 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:222

9) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testMailValidator with data set "With umlauts in domain part, PHPMailer default validator, exception" ('test@müllertest.de', 'PhpUnit Localhost ', Drupal\Tests\smtp\Unit\Plugin\Mail\EmailValidatorPhpMailerDefault Object (), 'PHPMailer\PHPMailer\Exception')
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 222 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:222

10) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testMailValidator with data set "Without top-level domain in domain part, PHPMailer default validator, exception" ('test@drupal', 'PhpUnit Localhost ', Drupal\Tests\smtp\Unit\Plugin\Mail\EmailValidatorPhpMailerDefault Object (), 'PHPMailer\PHPMailer\Exception')
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 222 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:222

11) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testMailValidator with data set "Without umlauts, Drupal mail validator, no exception" ('test@drupal.org', 'PhpUnit Localhost ', Drupal\Component\Utility\EmailValidator Object (...), null)
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 222 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:222

12) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testMailValidator with data set "With umlauts in local part, Drupal mail validator, no exception" ('testmüller@drupal.org', 'PhpUnit Localhost ', Drupal\Component\Utility\EmailValidator Object (...), null)
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 222 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:222

13) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testMailValidator with data set "With umlauts in domain part, Drupal mail validator, no exception" ('test@müllertest.de', 'PhpUnit Localhost ', Drupal\Component\Utility\EmailValidator Object (...), null)
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 222 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:222

14) Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest::testMailValidator with data set "Without top-level domain in domain part, Drupal mail validator, no exception" ('test@drupal', 'PhpUnit Localhost ', Drupal\Component\Utility\EmailValidator Object (...), null)
ArgumentCountError: Too few arguments to function Drupal\smtp\Plugin\Mail\SMTPMailSystem::__construct(), 10 passed in /var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php on line 222 and exactly 14 expected

/var/www/html/modules/contrib/smtp/src/Plugin/Mail/SMTPMailSystem.php:153
/var/www/html/modules/contrib/smtp/tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php:222

ERRORS!
Tests: 14, Assertions: 0, Errors: 14.
Unknown
fail: [run-tests.sh check] Line 0 of :
FATAL Drupal\Tests\smtp\Unit\Plugin\Mail\SMTPMailSystemTest: test runner returned a non-zero error code (2).
3SMTP.Drupal\Tests\smtp\Unit\SMTPConfigFormTest
- testBuildFormEnabledMessage
- testBuildFormDisabledMessage
- testGetFormId
5Acquia_contenthub.Acquia_contenthub
5Acquia_contenthub.Drupal\Tests\smtp\Kernel\ConnectionTester\ConnectionTesterTest
- testHookRequirements with data set #0
- testHookRequirements with data set #1
- testHookRequirements with data set #2
- testHookRequirements with data set #3
- testHookRequirements with data set #4

18 coding standards messages

src/Form/SMTPConfigForm.php
line 57Parameter $current_user is not described in comment
57Parameter $mail_manager is not described in comment
57Parameter $module_handler is not described in comment
src/Plugin/Mail/SMTPMailSystem.php
40Class property $AllowHtml should use lowerCamel naming without underscores
40Missing member variable doc comment
42Missing member variable doc comment
494Comment indentation error, expected only 1 spaces
495Comment indentation error, expected only 3 spaces
499Comment indentation error, expected only 1 spaces
728Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
737Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
744Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
753Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
756Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
757Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
758Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
759Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
984Type hint "array" missing for $mailerArr

smtp 8.x-1.x-dev branch result

History

UpdatedResult
13 Oct 2020 at 18:55 UTC