Problem/Motivation

drupal-check results on commit hash: 74c9ba8668f8ad00232979fdb2e89ff2af4c69d2


 ------ ------------------------------------------------------------------------------------------ 
  Line   tests/src/FunctionalJavascript/InfiniteScrollTest.php                                     
 ------ ------------------------------------------------------------------------------------------ 
  15     Class Drupal\Tests\views_infinite_scroll\FunctionalJavascript\InfiniteScrollTest extends  
         deprecated class Drupal\FunctionalJavascriptTests\JavascriptTestBase.                     
  17     Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class                    
         Drupal\Tests\views_infinite_scroll\FunctionalJavascript\InfiniteScrollTest.               
  18     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class             
         Drupal\Tests\views_infinite_scroll\FunctionalJavascript\InfiniteScrollTest.               
  39     Call to method setUp() of deprecated class Drupal\Tests\BrowserTestBase.                  
 ------ ------------------------------------------------------------------------------------------ 

 [ERROR] Found 4 errors                                                                                  

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

ChaseOnTheWeb created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new970 bytes

Here is the patch, please review.

volkswagenchick’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new18.05 KB

Confirming before patch I received the following errors
------ -----------------------------------------------------------------------------------------------------------
Line tests/src/FunctionalJavascript/InfiniteScrollTest.php
------ -----------------------------------------------------------------------------------------------------------
15 Class Drupal\Tests\views_infinite_scroll\FunctionalJavascript\InfiniteScrollTest extends deprecated class
Drupal\FunctionalJavascriptTests\JavascriptTestBase.
17 Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class
Drupal\Tests\views_infinite_scroll\FunctionalJavascript\InfiniteScrollTest.
18 Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class
Drupal\Tests\views_infinite_scroll\FunctionalJavascript\InfiniteScrollTest.
39 Call to method setUp() of deprecated class Drupal\Tests\BrowserTestBase.
------ -----------------------------------------------------------------------------------------------------------

patch applied locally.
AFter applying the patch:
The were no errors. Screenshot attached. Marking RTBC

  • Sergiu Stici authored 1ebd935 on 8.x-1.x
    Issue #3042629 by Sergiu Stici, volkswagenchick: Drupal 9 Deprecated...
honza pobořil’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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