Commit graph

8 commits

Author SHA1 Message Date
Wandji69
fc3e8aa641 Tests: Replace "db" with getDb method
Bug: T316841
Change-Id: Ie6b08125b76d2d4b7a30375357dcb90aaa0189c1
2024-06-30 20:24:06 +01:00
Kosta Harlan
7ded26c899
LogPageTest: Use named user identity
Why:

- There's nothing specific to IP users being tested here
- Current test breaks with temp accounts enabled

What:

- Use a named user identity value

Bug: T365669
Change-Id: I50335d2dc972d900e1faf9e56e59eb0016af0166
2024-06-27 12:37:26 +02:00
thiemowmde
52ddf3e8ce Remove all @package comments
I don't think these do anything with the documentation generators
we currently use. Especially not in tests. How are tests part of a
"package" when the code is not?

Note how most of these are simply identical to the namespace. They
are most probably auto-generated by some IDEs but don't actually
mean anything.

Change-Id: I771b5f2041a8e3b077865c79cbebddbe028543d1
2024-05-10 13:53:15 +02:00
Reedy
85396a9c99 tests: Fix @covers and @coversDefaultClass to have leading \
Change-Id: I5629f91387f2ac453ee4341bfe4bba310bd52f03
2024-02-16 22:43:56 +00:00
James D. Forrester
4ed5ca48b1 Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary
Bug: T342301
Change-Id: I5ea01f7ee103570165261bde0965c5b65e04c369
2023-11-21 09:02:48 -05:00
BrandonXLF
dae2773d1e Show title for unknown log actions
Show the page title beside unknown log actions in the log. Also show
the action's key instead of just the name of the action to better
identify the action.

Bug: T64722
Change-Id: Ie1643aab99b9217327075e0d2a38c109f63255a0
2023-04-11 21:44:12 +00:00
Derick Alangi
f88eab53a6 tests: Use overrideConfig(Value|Values) where needed
This continues the work in the child patch to replace callers
of setMwGlobals() with the appropriate method. Directory this
patch covers is `tests/phpunit/integration/`.

Change-Id: I0a9abf0d2a43587f2ffa029b68024a1ba5165fc7
2022-07-12 14:40:46 +01:00
Petr Pchelko
c10a6537d6 Convert LogPage to UserIdentity
Change-Id: Ifb353dc5e0a90a2dc01c1b196fc83696e39b4b8d
2021-03-23 12:02:40 -06:00