Commit b8aca68
committed
Fix additional test pollution and Eloquent query builder issues
1. **EntryCustomerRepositoryTest** - Added Stache clearing in beforeEach to
prevent customer data accumulation across tests
2. **EloquentQueryBuilder::whereStatusLogDate** - Fixed "Relation statusLog
does not exist" error by using native Eloquent builder's whereHas instead
of Statamic's overridden version which expects blueprint-based relationships1 parent 7d1078a commit b8aca68
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
0 commit comments