Convert system functional tests to phpunit
Scope:
./Routing/RouterTest.php
Postponed/needs followup:
./Routing/MockAliasManager.php
./Routing/MockRouteProvider.php
| Comment | File | Size | Author |
|---|---|---|---|
| #23 | 2982149-23.patch | 11.29 KB | lendude |
| #18 | 2982149-18.patch | 25.92 KB | vijaycs85 |
| #18 | 2982149-diff-16-18.txt | 4.7 KB | vijaycs85 |
Comments
Comment #2
lendudeComment #3
scuba_flyConverting this, moving the old tests to the new location and extending the right class.
Will create new issues for the failed test.
Comment #4
scuba_flyMoved most of the files, changed namespace and converted to browserTestBase.
Still failing tests, but it is a good starting point to work on those tests.
I did not touch the files below, these are not tests. Lets figure this out later.
./Path/UrlAliasFixtures.php
./Routing/MockAliasManager.php
./Routing/MockRouteProvider.php
Comment #5
lendudeComment #7
scuba_flyNew patch, with my work for now. Will continue working on this.
Added more files.
fixed tests for:
- DefaultMetatagsTest
- PagerTest
Comment #8
scuba_flywrong patch.
Comment #9
scuba_flyOk I need a break, this is the right patch with the work for now.
Comment #10
scuba_flyComment #11
scuba_flyComment #13
scuba_flyComment #14
scuba_flyComment #16
vijaycs85Here is an update.
Comment #18
vijaycs85Comment #20
lendudesplitting the session part into #3002121: Session: Convert system functional tests to phpunit this is getting too big to oversee.
Comment #21
lendudeComment #22
lendudeComment #23
lendudeSo this now only covers the remaining routing tests.
Comment #24
lendudeUpdated the scope in the IS.
Comment #25
lendudeComment #26
lendude$this->redirectCount is not a thing in BTB, so took those out. Also, the relevant coverage here is that the leading slashes are striped which the assertUrl() covers.
Comment #27
jibranThis is straightforward.
Alas, they are not a thing anymore BTB the heartbreaker. ;-P
Comment #30
larowlanCommitted 3f77e72 and pushed to 8.7.x. Thanks!
C/p as 6e29b513a2 and pushed to 8.6.x