test(server): drop the dashes from two reworded spec comments

The permissions and plugin RPC fallback comments were reworded when
their raw SQL went away; this keeps the new wording in line with the
comment style used elsewhere in the converted specs.
This commit is contained in:
Maurice
2026-10-08 18:03:34 +02:00
parent 4c69804c81
commit f579f03692
2 changed files with 2 additions and 2 deletions
@@ -323,7 +323,7 @@ describe('module-scoped permissions cache', () => {
// (checkPermission for a plain member flips with the stored level).
await svc.savePermissions({ trip_edit: 'trip_member' });
expect(await secondInstance.checkPermission('trip_edit', 'user', 10, 20, true)).toBe(true);
// A direct row write, then invalidate through permissions-cache — the plain
// A direct row write, then invalidate through permissions-cache, the plain
// function backup.impl.ts calls after a restore. Both service instances
// must serve the fresh value afterwards.
await setAppSetting(t, 'perm_trip_edit', 'trip_owner');
@@ -46,7 +46,7 @@ function guardsFor() {
prepare: vi.fn(() => ({ get: () => ({ role: 'user' }), all: () => [] })),
} as unknown as TripsRepository;
// Plan 3c Task 7: TripsRpc's RP1-RP6 resolve `EntityManager.getRepository(...)`
// now, not a raw `db.prepare` stub — a generic fake repository (same shape regardless
// now, not a raw `db.prepare` stub; a generic fake repository (same shape regardless
// of which entity class was requested) covers every RP method these fallback
// cases exercise, none of which assert on the repository's specific return value.
const em = {