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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screen Shot 2019-04-26 at 5.07.08 PM.png | 18.05 KB | volkswagenchick |
| #2 | drupal_9_deprecated_code-3042629-2.patch | 970 bytes | sergiu stici |
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #3
volkswagenchickConfirming 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
Comment #5
honza pobořil commented