Problem/Motivation

drupal-check results on commit hash:
source : [git] https://git.drupal.org/project/cas 414c4b50ae9cf97a02f604f7e206d60c78fc6f79
source : http://cgit.drupalcode.org/cas


------ --------------------------------------------------------------------
Line tests/src/Functional/CasUserFormFieldTest.php
------ --------------------------------------------------------------------
Class
Drupal\Tests\cas\Functional\CasAccountAndRegistrationFormTest was
not found while trying to analyse it - autoloading is probably not
configured properly.
------ --------------------------------------------------------------------

------ -----------------------------------------------------
Line tests/src/Unit/Controller/ServiceControllerTest.php
------ -----------------------------------------------------
421 Call to deprecated method getMock() of class
Drupal\Tests\UnitTestCase.
422 Call to deprecated method getMock() of class
Drupal\Tests\UnitTestCase.
------ -----------------------------------------------------

------ ----------------------------------------------
Line tests/src/Unit/Service/CasRedirectorTest.php
------ ----------------------------------------------
66 Call to deprecated method getMock() of class
Drupal\Tests\UnitTestCase.
------ ----------------------------------------------

[ERROR] Found 4 errors

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mcdwayne created an issue. See original summary.

Sergiu Stici’s picture

Status: Active » Needs review
FileSize
83.76 KB

Here is the patch, please review.

bkosborne’s picture

Status: Needs review » Fixed

Most of your code included code style fixes where were fixed in a separate issue. I the deprecations in the tests though. Thanks!

Status: Fixed » Closed (fixed)

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