Hi guys,

First off I love the webform module, I've worked with it for ages now and I am glad to see it's getting a great D8 build. However, I have incorporated it to a D8 site and we are using Travis CI builder and webform fails everytime. The report says:

There was 1 failure:

1) Drupal\Tests\webform\Unit\Access\PermissionAccessCheckTest::testCheckAdminAccess
Drupal\Core\Access\AccessResultForbidden Object &000000004282ab7a0000000006ab1c10 (
'reason' => null
'cacheContexts' => Array &0 ()
'cacheTags' => Array &0
'cacheMaxAge' => -1
) is not instance of expected class "Drupal\Core\Access\AccessResultNeutral".

/home/travis/build/drupal/web/modules/contrib/webform/tests/src/Unit/Access/WebformAccessCheckTest.php:112

Can you fix this error with your new release, for now we are excluding it in the CI.

Thanks and good luck!
Jessica

Comments

interactivex created an issue. See original summary.

jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new1.44 KB

  • jrockowitz committed b01c92f on 8.x-5.x
    Issue #2858344 by jrockowitz: WebformAccessCheckTest file is not passing...
jrockowitz’s picture

Status: Needs review » Fixed

I committed the patch which I tested locally.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.