Skip to content

Commit 62dcc57

Browse files
committed
Fixed test, added TODO
1 parent 2e7b9e9 commit 62dcc57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/recipe2plan.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {Exists} from '../runtime/storageNG/drivers/driver.js';
1919
import {TestVolatileMemoryProvider} from '../runtime/testing/test-volatile-memory-provider.js';
2020
import {RamDiskStorageDriverProvider, RamDiskStorageKey} from '../runtime/storageNG/drivers/ramdisk.js';
2121
import {Capabilities} from '../runtime/capabilities.js';
22-
import {ramDiskStorageKeyPrefixForTest} from '../runtime/testing/handle-for-test.js';
22+
import {ramDiskStorageKeyPrefixForTest, storageKeyPrefixForTest} from '../runtime/testing/handle-for-test.js';
2323

2424

2525
/**
@@ -132,7 +132,7 @@ export class StorageKeyRecipeResolver {
132132
async createStoresForCreateHandles(recipe: Recipe, arc: Arc) {
133133
const resolver = new CapabilitiesResolver({arcId: arc.id});
134134
for (const ch of recipe.handles.filter(h => h.fate === 'create')) {
135-
const storageKey = await resolver.createStorageKey(ch.capabilities, ch.type.getEntitySchema(), ch.id);
135+
const storageKey = ramDiskStorageKeyPrefixForTest()(arc.id); // TODO: actually create the storage keys.
136136
const store = new Store({storageKey, exists: Exists.MayExist, type: ch.type, id: ch.id});
137137
arc.context.registerStore(store, ch.tags);
138138
}

0 commit comments

Comments
 (0)