5 pass, 5 fail

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

34SMS Gateways.SMS Gateways
22SMS Gateways.Drupal\sms_infobip\Tests\Plugin\SmsGateway\InfobipGatewayTest
- simpletest_script_run_one_test
- testApi
testConfigurationForm
fail: [Browser] Line 87 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
HTTP response expected 200, actual 500

fail: [Other] Line 88 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Expected 'http://localhost/checkout/admin/config/smsframework/gateways/aq3qtmbg' matches current URL (http://localhost/checkout/admin/config/smsframework/gateways/add).
Value 'http://localhost/checkout/admin/config/smsframework/gateways/add' is equal to value 'http://localhost/checkout/admin/config/smsframework/gateways/aq3qtmbg'.

fail: [Browser] Line 90 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Found field with name 'settings[port]' and value 80

fail: [Other] Line 100 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Failed to set field settings[ssl] to 

fail: [Other] Line 100 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Failed to set field settings[server] to api.infobip.com

fail: [Other] Line 100 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Failed to set field settings[port] to 

fail: [Other] Line 100 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Failed to set field settings[username] to test_user

fail: [Other] Line 100 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Failed to set field settings[password] to password

fail: [Other] Line 100 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Failed to set field settings[reports] to 

fail: [Other] Line 100 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Found the Save button

fail: [Other] Line 100 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
Found the requested form fields at 

fail: [Browser] Line 101 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
HTTP response expected 200, actual 500

fail: [Other] Line 102 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php:
"HTTP response exception (401) Client error:" found
Unknown
fail: [Fatal error] Line 0 of :
[24-Aug-2017 08:58:35 Australia/Sydney] Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "" plugin does not exist." at /var/www/html/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 52
12SMS Gateways.Drupal\sms_infobip\Tests\Plugin\SmsGateway\DeliveryReportsTest
testDeliveryReports
fail: [Completion check] Line 26 of modules/contrib/sms_infobip/src/Tests/Plugin/SmsGateway/DeliveryReportsTest.php:
The test did not complete due to a fatal error.
- simpletest_script_run_one_test
Unknown
fail: [run-tests.sh check] Line 0 of :
FATAL Drupal\sms_infobip\Tests\Plugin\SmsGateway\DeliveryReportsTest: test runner returned a non-zero error code (255).
21SMS Gateway.SMS Gateway
1SMS Gateway.Drupal\Tests\sms_infobip\Unit\Plugin\SmsGateway\Infobip\MessageResponseHandlerTest
- testHandleMethod with data set #0
1SMS Gateway.Drupal\Tests\sms_infobip\Unit\Plugin\SmsGateway\Infobip\DeliveryReportHandlerTest
Drupal\Tests\sms_infobip\Unit\Plugin\SmsGateway\Infobip\DeliveryReportHandlerTest
fail: [Other] Line 0 of sites/default/files/simpletest/phpunit-4.xml:
PHPunit Test failed to complete; Error: PHPUnit 4.8.35 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\sms_infobip\Unit\Plugin\SmsGateway\Infobip\DeliveryReportHandlerTest
F

Time: 140 ms, Memory: 4.00MB

There was 1 failure:

1) Warning
The data provider specified for Drupal\Tests\sms_infobip\Unit\Plugin\SmsGateway\Infobip\DeliveryReportHandlerTest::testHandleMethod is invalid.
Call to undefined method Drupal\sms\Message\SmsDeliveryReport::setStatusTime()

FAILURES!
Tests: 1, Assertions: 0, Failures: 1.
1SMS Gateway.Drupal\Tests\sms_infobip\Unit\Plugin\SmsGateway\Infobip\CreditsResponseHandlerTest
- testHandleMethod with data set #0

108 coding standards messages

src/Plugin/SmsGateway/Infobip/CreditBalanceResponseHandler.php
line 22Line indented incorrectly; expected 6 spaces, found 0
226 spaces found before inline comment; expected "// $message = $response['currency'] . ' ' . $response['balance'];" but found "// $message = $response['currency'] . ' ' . $response['balance'];"
22Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses
src/Plugin/SmsGateway/Infobip/InfobipResponseHandlerBase.php
122Whitespace found at end of line
173Whitespace found at end of line
314Line indented incorrectly; expected 4 spaces, found 2
848Whitespace found at end of line
src/Plugin/SmsGateway/InfobipGateway.php
48A comma should follow the last multiline array item. Found: )
56Expected 1 space after FUNCTION keyword; 0 found
91Case breaking statements must be followed by a single blank line
126Line exceeds 80 characters; contains 81 characters
141Comments may not appear after statements
141Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses
156Case breaking statements must be followed by a single blank line
158Case breaking statements must be followed by a single blank line
161Case breaking statements must be followed by a single blank line
src/Tests/Plugin/SmsGateway/DeliveryReportsTest.php
26Missing function doc comment
69Line indented incorrectly; expected 4 spaces, found 0
694 spaces found before inline comment; expected "// $this->assertEqual($delivered_time, $second_report->getTimeQueued());" but found "// $this->assertEqual($delivered_time, $second_report->getTimeQueued());"
src/Tests/Plugin/SmsGateway/InfobipGatewayTest.php
17Spaces must be used to indent lines; tabs are not allowed
17Line indented incorrectly; expected 2 spaces, found 1
18Spaces must be used to indent lines; tabs are not allowed
18Whitespace found at end of line
23Spaces must be used to indent lines; tabs are not allowed
23Line indented incorrectly; expected 4 spaces, found 3
24Spaces must be used to indent lines; tabs are not allowed
24Line indented incorrectly; expected 4 spaces, found 2
25Spaces must be used to indent lines; tabs are not allowed
25Line indented incorrectly; expected 4 spaces, found 2
26Spaces must be used to indent lines; tabs are not allowed
26Line indented incorrectly; expected at least 4 spaces, found 3
26Array indentation error, expected 4 spaces but found 3
27Spaces must be used to indent lines; tabs are not allowed
27Line indented incorrectly; expected at least 4 spaces, found 3
27Array indentation error, expected 4 spaces but found 3
28Spaces must be used to indent lines; tabs are not allowed
28Line indented incorrectly; expected at least 4 spaces, found 3
28Array indentation error, expected 4 spaces but found 3
29Spaces must be used to indent lines; tabs are not allowed
29Line indented incorrectly; expected at least 4 spaces, found 3
29Array indentation error, expected 4 spaces but found 3
30Spaces must be used to indent lines; tabs are not allowed
30Array indentation error, expected 5 spaces but found 4
31Spaces must be used to indent lines; tabs are not allowed
31Array indentation error, expected 5 spaces but found 4
32Spaces must be used to indent lines; tabs are not allowed
32Array indentation error, expected 5 spaces but found 4
33Spaces must be used to indent lines; tabs are not allowed
33Array indentation error, expected 5 spaces but found 4
34Spaces must be used to indent lines; tabs are not allowed
34Array indentation error, expected 5 spaces but found 4
36Spaces must be used to indent lines; tabs are not allowed
36Array indentation error, expected 5 spaces but found 4
37Spaces must be used to indent lines; tabs are not allowed
38Spaces must be used to indent lines; tabs are not allowed
40Spaces must be used to indent lines; tabs are not allowed
40Line indented incorrectly; expected 4 spaces, found 2
51Line indented incorrectly; expected 4 spaces, found 0
51Comment indentation error, expected only 1 spaces
52Line exceeds 80 characters; contains 124 characters
52Line indented incorrectly; expected 4 spaces, found 0
53Line indented incorrectly; expected 4 spaces, found 0
54Line indented incorrectly; expected 4 spaces, found 0
55Line indented incorrectly; expected 4 spaces, found 0
56Line exceeds 80 characters; contains 126 characters
56Line indented incorrectly; expected 4 spaces, found 0
57Line indented incorrectly; expected 4 spaces, found 0
58Line indented incorrectly; expected 4 spaces, found 0
59Line indented incorrectly; expected 4 spaces, found 0
60Line indented incorrectly; expected 4 spaces, found 0
61Line exceeds 80 characters; contains 126 characters
61Line indented incorrectly; expected 4 spaces, found 0
62Line indented incorrectly; expected 4 spaces, found 0
63Line indented incorrectly; expected 4 spaces, found 0
64Line indented incorrectly; expected 4 spaces, found 0
65Line indented incorrectly; expected 4 spaces, found 0
66Line exceeds 80 characters; contains 126 characters
66Line indented incorrectly; expected 4 spaces, found 0
67Line indented incorrectly; expected 4 spaces, found 0
68Line indented incorrectly; expected 4 spaces, found 0
69Line indented incorrectly; expected 4 spaces, found 0
70Line indented incorrectly; expected 4 spaces, found 0
71Line indented incorrectly; expected 4 spaces, found 0
72Line exceeds 80 characters; contains 81 characters
72Line indented incorrectly; expected 4 spaces, found 0
src/Tests/Plugin/SmsGateway/MessageResponseTestFixturesTrait.php
7Missing @var tag in member variable comment
tests/src/Unit/Plugin/SmsGateway/Infobip/CreditsResponseHandlerTest.php
16Missing short description in doc comment
25Missing function doc comment
31Line indented incorrectly; expected 4 spaces, found 0
3110 spaces found before inline comment; expected "// 'original' => [" but found "// 'original' => ["
32Line indented incorrectly; expected 4 spaces, found 0
32Comment indentation error, expected only 10 spaces
33Line indented incorrectly; expected 4 spaces, found 0
34Line indented incorrectly; expected 4 spaces, found 0
34Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses
37Expected 1 blank line after function; 0 found
38The closing brace for the class must have an empty line before it
40Missing class doc comment
42You must use "/**" style comments for a member variable comment
42Expected 1 space after "="; 0 found
tests/src/Unit/Plugin/SmsGateway/Infobip/DeliveryReportHandlerTest.php
20Missing short description in doc comment
30Missing function doc comment
66Expected 1 blank line after function; 0 found
67The closing brace for the class must have an empty line before it
tests/src/Unit/Plugin/SmsGateway/Infobip/MessageResponseHandlerTest.php
22Missing short description in doc comment
32Missing function doc comment
60Expected 1 blank line after function; 0 found
61The closing brace for the class must have an empty line before it

History

UpdatedResult
23 Aug 2017 at 22:58 UTC
23 Aug 2017 at 14:52 UTC
23 Aug 2017 at 09:20 UTC
22 Aug 2017 at 15:07 UTC
21 Aug 2017 at 14:38 UTC
20 Aug 2017 at 18:19 UTC