Commit 4d71615
committed
fix(tests): correct testDetectUnencryptedFilesQuery assertion
The migration test writes files that are intentionally unencrypted
(simulating pre-migration state), so asserting encrypted != 0 was wrong.
Replace with a weaker but still meaningful assertion: verify the file
actually landed in filecache (proving the write and query target the same
table), plus the existing numeric-result sanity check.
Signed-off-by: Stephen Cuppett <steve@cuppett.com>1 parent d6ec9eb commit 4d71615
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
| 159 | + | |
161 | 160 | | |
162 | | - | |
| 161 | + | |
163 | 162 | | |
164 | 163 | | |
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
169 | | - | |
170 | | - | |
171 | | - | |
| 168 | + | |
172 | 169 | | |
173 | | - | |
| 170 | + | |
174 | 171 | | |
175 | 172 | | |
176 | 173 | | |
| |||
0 commit comments