diff --git a/packages/cultcache-py/tests/test_cultcache.py b/packages/cultcache-py/tests/test_cultcache.py index 71e89690..eafa475f 100644 --- a/packages/cultcache-py/tests/test_cultcache.py +++ b/packages/cultcache-py/tests/test_cultcache.py @@ -341,8 +341,8 @@ class CultCacheTests(unittest.TestCase): def test_a_registered_entry_is_written_as_it_is_over_the_arrived_entries_with_the_same_own_id_in_either_order(self) -> None: import msgpack # type: ignore - stale1 = self._writer_entry("tests.x", "tests.n", "stale-1", ("tests.x", "old")) - stale2 = self._writer_entry("tests.x", "tests.n", "stale-2", ("tests.x",)) + stale1 = self._writer_entry("tests.x", "tests.n", "a-stale-1", ("tests.x", "old")) + stale2 = self._writer_entry("tests.x", "tests.n", "a-stale-2", ("tests.x",)) registered = self._writer_record("a", "tests.n", "tests.x", self._writer_entry("tests.x", "tests.n", "fresh", ("tests.x",))) for entries in ([stale1, stale2], [stale2, stale1]): with tempfile.TemporaryDirectory() as tmp: diff --git a/packages/cultcache-ts/test/cult-cache.test.ts b/packages/cultcache-ts/test/cult-cache.test.ts index a0cb5cb0..8efcca01 100644 --- a/packages/cultcache-ts/test/cult-cache.test.ts +++ b/packages/cultcache-ts/test/cult-cache.test.ts @@ -1377,8 +1377,8 @@ const catalogOf = async (file: string): Promise => test("a registered entry is written as it is, over the arrived entries with the same own id, in either order", async () => { const dir = await mkdtemp(join(tmpdir(), "cultcache-registered-wins-")); - const stale1 = writerEntry("tests.x", "tests.n", "stale-1", ["tests.x", "old"]); - const stale2 = writerEntry("tests.x", "tests.n", "stale-2", ["tests.x"]); + const stale1 = writerEntry("tests.x", "tests.n", "a-stale-1", ["tests.x", "old"]); + const stale2 = writerEntry("tests.x", "tests.n", "a-stale-2", ["tests.x"]); const registered = writerRecord("a", "tests.n", "tests.x", writerEntry("tests.x", "tests.n", "fresh", ["tests.x"])); for (const [name, entries] of [["12", [stale1, stale2]], ["21", [stale2, stale1]]] as const) {