Follow-up to #2863372: Convert dblog web tests to BrowserTestBase
See #2735005: Convert all Simpletest web tests to BrowserTestBase (or UnitTestBase/KernelTestBase)
Scope:
- Drupal\rest\Tests\RESTTestBase is already marked has deprecated and the doc suggest already to use \Drupal\Tests\rest\Functional\ResourceTestBase and \Drupal\Tests\rest\Functional\EntityResource.
- #2927766: Update ResponseGeneratorTest to use the BrowserTestBase base class instead of the deprecated RESTTestBase
- #2927758: Update DbLogResourceTest to use the ResourceTestBase base class instead of the deprecated RESTTestBase
- Drupal\Tests\user\Functional\RestRegisterUserTest #2887869: Convert web tests to browser tests for user module part-2
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 2889882-12.patch | 11.32 KB | naveenvalecha |
Comments
Comment #2
naveenvalechaLet's use this issue to convert all RESTTestBase child classes in a single issue. Updated the IS accordingly
Comment #3
naveenvalechaComment #4
dagmarWe have #2775553: Convert web tests to browser tests for REST module created a like a year ago. I think we should fix the issue there and then make the trivial conversion on dblog.
Comment #5
dagmarComment #6
naveenvalechaIt's not blocked by the Rest module stuff. Moving it to simpletest.module as the scope of this issue is not any module centric
Comment #7
naveenvalechaComment #8
naveenvalechaRemoving ResourceTest as this is getting covered here #2775553: Convert web tests to browser tests for REST module
Comment #9
naveenvalechaUpdating title according to tests in scope.
Comment #10
naveenvalechaupdated title
Comment #12
naveenvalechaHere's the start.
Comment #13
naveenvalechaComment #16
dawehnerThese two got converted already in the meantime: Yeah!
Comment #17
ziomizar commentedComment #18
ziomizar commentedComment #19
ziomizar commentedComment #20
ziomizar commentedComment #21
ziomizar commentedSeems that this issue can be marked as duplicated as the only test missing is Drupal\Tests\user\Functional\RestRegisterUserTest and is handled with a patch that already passed all the tests in #2887869: Convert web tests to browser tests for user module part-2.
Comment #22
ziomizar commentedComment #23
ziomizar commentedComment #24
dawehnerThis makes sense. Thank you for finding the other issue