Commit 0efc237
authored
docs: name the 110 tests that cannot pass here, and who owns them (#12)
110 of the Module suite's failures are not defects in this package. They are
tests referencing classes owned by other packages — and every one of those
packages already requires dappcore/php:
dappcore/php-tenant requires dappcore/php: *
dappcore/agent requires dappcore/php: *
So no dependency could make them pass here. They cannot be fixed inside this
repository by any amount of work; they need to move to the repository that owns
what they test. Naming them is the only useful thing this repo can do with them,
which is what docs/misfiled-tests.md does — by owner, by file, with counts.
php-tenant 82 failures, 13 files Core\Tenant\Models\User (78),
Core\Tenant\Rules\ResourceStatusRule (4)
agent 25 failures, 1 file and wrong twice: it names
Core\Agentic\Services\AgentDetection,
while the class lives at
Core\Mod\Agentic\Services — a namespace
the ecosystem has moved away from, in a
package that cannot be depended on from
here. Fixing the namespace alone would
not make it pass.
host.uk.com 3 failures, 1 file Website\Host\Mail\ContactFormSubmission
lives in the application, not in any
package. A framework package testing its
consumer's mailable.
Most of the php-tenant ones want a User only to authenticate a request, and the
note says so: where that is all they need, a fixture user this package owns is
cheaper than moving the file. Where the test genuinely exercises tenancy, it
belongs in php-tenant. That distinction is theirs to make, not mine to guess.
The module-debt job's comment now points at the document rather than repeating a
summary that would drift from it.
No code changed. No test moved or deleted — deleting them here would erase the
findings their owners need.
python3 yaml.safe_load .github/workflows/tests.yml valid
vendor/bin/pint --test pass1 parent 5551b59 commit 0efc237
2 files changed
Lines changed: 91 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
0 commit comments