26 pass, 2 fail

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

262Commerce_prorater_stepped_proportional.Commerce_prorater_stepped_proportional
2Commerce_prorater_stepped_proportional.Drupal\Tests\commerce_prorater_stepped_proportional\Kernel\SubscriptionWithRolloverLifecycleTest
Drupal\Tests\commerce_prorater_stepped_proportional\Kernel\SubscriptionWithRolloverLifecycleTest
exception: [Other] Line 0 of sites/default/files/simpletest/phpunit-1.xml:
PHPunit Test failed to complete; Error: PHPUnit 4.8.36 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\commerce_prorater_stepped_proportional\Kernel\SubscriptionWithRolloverLifecycleTest
E

Time: 1.88 seconds, Memory: 4.00MB

There was 1 error:

1) Drupal\Tests\commerce_prorater_stepped_proportional\Kernel\SubscriptionWithRolloverLifecycleTest::testSubscriptionLifecycle
Error: Call to undefined method Drupal\user\Entity\User::getPaymentMethod()

/var/www/html/modules/contrib/commerce_recurring/src/RecurringOrderManager.php:290
/var/www/html/modules/contrib/commerce_recurring/src/RecurringOrderManager.php:76
/var/www/html/modules/contrib/commerce_recurring/src/RecurringOrderProcessor.php:35
/var/www/html/modules/contrib/commerce/modules/order/src/OrderRefresh.php:155
/var/www/html/modules/contrib/commerce/modules/order/src/OrderStorage.php:92
/var/www/html/core/lib/Drupal/Core/Entity/EntityStorageBase.php:389
/var/www/html/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php:796
/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:377
/var/www/html/modules/contrib/commerce_recurring/src/RecurringOrderManager.php:61
/var/www/html/modules/contrib/commerce_recurring/src/EventSubscriber/OrderSubscriber.php:84
/var/www/html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:108
/var/www/html/modules/contrib/state_machine/src/Plugin/Field/FieldType/StateItem.php:339
/var/www/html/modules/contrib/state_machine/src/Plugin/Field/FieldType/StateItem.php:308
/var/www/html/core/lib/Drupal/Core/Field/FieldItemList.php:245
/var/www/html/core/lib/Drupal/Core/Field/FieldItemList.php:203
/var/www/html/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php:473
/var/www/html/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php:423
/var/www/html/modules/contrib/commerce/src/CommerceContentEntityStorage.php:88
/var/www/html/core/lib/Drupal/Core/Entity/EntityStorageBase.php:435
/var/www/html/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php:292
/var/www/html/modules/contrib/commerce/modules/order/src/OrderStorage.php:89
/var/www/html/core/lib/Drupal/Core/Entity/EntityStorageBase.php:389
/var/www/html/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php:796
/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:377
/var/www/html/modules/contrib/commerce_prorater_stepped_proportional/tests/src/Kernel/SubscriptionWithRolloverLifecycleTest.php:117

FAILURES!
Tests: 1, Assertions: 12, Errors: 1.
Unknown
fail: [run-tests.sh check] Line 0 of :
FATAL Drupal\Tests\commerce_prorater_stepped_proportional\Kernel\SubscriptionWithRolloverLifecycleTest: test runner returned a non-zero error code (2).
12Commerce_prorater_stepped_proportional.Drupal\Tests\commerce_prorater_stepped_proportional\Kernel\SteppedProportionalWithRolloverTest
- testYearlyScheduleProrating with data set "jan_1_full"
- testYearlyScheduleProrating with data set "jan_1_Q1"
- testYearlyScheduleProrating with data set "jan_1_Q2"
- testYearlyScheduleProrating with data set "jan_1_Q3"
- testYearlyScheduleProrating with data set "jan_1_Q4"
- testYearlyScheduleProrating with data set "jan_1_rollover"
- testYearlyScheduleProrating with data set "feb_1_full"
- testYearlyScheduleProrating with data set "feb_1_Q1"
- testYearlyScheduleProrating with data set "feb_1_Q2"
- testYearlyScheduleProrating with data set "feb_1_Q3"
- testYearlyScheduleProrating with data set "feb_1_Q4"
- testYearlyScheduleProrating with data set "feb_1_rollover"
10Commerce_prorater_stepped_proportional.Drupal\Tests\commerce_prorater_stepped_proportional\Kernel\SteppedProportionalTest
- testYearlyScheduleProrating with data set "jan_1_full"
- testYearlyScheduleProrating with data set "jan_1_Q1"
- testYearlyScheduleProrating with data set "jan_1_Q2"
- testYearlyScheduleProrating with data set "jan_1_Q3"
- testYearlyScheduleProrating with data set "jan_1_Q4"
- testYearlyScheduleProrating with data set "feb_1_full"
- testYearlyScheduleProrating with data set "feb_1_Q1"
- testYearlyScheduleProrating with data set "feb_1_Q2"
- testYearlyScheduleProrating with data set "feb_1_Q3"
- testYearlyScheduleProrating with data set "feb_1_Q4"
4Commerce_prorater_stepped_proportional.Drupal\Tests\commerce_prorater_stepped_proportional\Kernel\FixedWithFreeRolloverTest
- testYearlyScheduleRollover with data set "jan_1_outside_rollover"
- testYearlyScheduleRollover with data set "jan_1_within_rollover"
- testYearlyScheduleRollover with data set "feb_1_outside_rollover"
- testYearlyScheduleRollover with data set "feb_1_within_rollover"

37 coding standards messages

src/Plugin/Commerce/BillingSchedule/FixedWithFreeRollover.php
line 8Unused use statement
src/Plugin/Commerce/Prorater/SteppedProportional.php
7Unused use statement
11Unused use statement
122Expected 1 space after closing brace; newline found
127Inline control structures are not allowed
tests/src/Kernel/FixedWithFreeRolloverTest.php
30You must use "/**" style comments for a member variable comment
tests/src/Kernel/SteppedProportionalTest.php
10Unused use statement
42You must use "/**" style comments for a member variable comment
54Doc comment short description must start with a capital letter
54Doc comment short description must end with a full stop
55There must be exactly one blank line before the tags in a doc comment
100No space found before comment text; expected "// dump($this->billingSchedule->getProraterId());" but found "//dump($this->billingSchedule->getProraterId());"
120Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses
144Array indentation error, expected 8 spaces but found 6
176Array indentation error, expected 8 spaces but found 10
177Array indentation error, expected 8 spaces but found 10
178Array closing indentation error, expected 6 spaces but found 8
188Array indentation error, expected 8 spaces but found 6
tests/src/Kernel/SteppedProportionalWithRolloverTest.php
10Unused use statement
42You must use "/**" style comments for a member variable comment
54Doc comment short description must start with a capital letter
54Doc comment short description must end with a full stop
55There must be exactly one blank line before the tags in a doc comment
105No space found before comment text; expected "// dump($this->billingSchedule->getProraterId());" but found "//dump($this->billingSchedule->getProraterId());"
125Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses
149Array indentation error, expected 8 spaces but found 6
191Array indentation error, expected 8 spaces but found 10
192Array indentation error, expected 8 spaces but found 10
193Array closing indentation error, expected 6 spaces but found 8
203Array indentation error, expected 8 spaces but found 6
223Comments may not appear after statements
228Missing function doc comment
229Empty array declaration must have no space between the parentheses
231Expected 1 blank line after function; 3 found
234More than 2 empty lines are not allowed
235The closing brace for the class must have an empty line before it
tests/src/Kernel/SubscriptionWithRolloverLifecycleTest.php
69A comma should follow the last multiline array item. Found: ]

History

UpdatedResult
11 Jan 2018 at 16:42 UTC
11 Jan 2018 at 14:29 UTC
5 Jan 2018 at 14:03 UTC
22 Dec 2017 at 16:53 UTC