diff --git a/src/api/v2/ontology/ontologies-endpoint.spec.ts b/src/api/v2/ontology/ontologies-endpoint.spec.ts index 4c95b011d..558835f37 100644 --- a/src/api/v2/ontology/ontologies-endpoint.spec.ts +++ b/src/api/v2/ontology/ontologies-endpoint.spec.ts @@ -126,13 +126,14 @@ describe("OntologiesEndpoint", () => { expect((response.properties["http://0.0.0.0:3333/ontology/0001/anything/v2#hasListItem"] as ResourcePropertyDefinition).guiAttributes).toEqual(["hlist="]); const classDefs = response.getAllClassDefinitions(); + console.log(1111, classDefs) expect(classDefs.length).toEqual(13); expect(classDefs[0] instanceof ResourceClassDefinition).toBeTruthy(); - expect((classDefs[0] as ResourceClassDefinition).id).toEqual("http://0.0.0.0:3333/ontology/0001/anything/v2#AudioSequenceThing"); + expect((classDefs[0] as ResourceClassDefinition).id).toEqual("http://0.0.0.0:3333/ontology/0001/anything/v2#AudioThing"); const resClassDefs = response.getClassDefinitionsByType(ResourceClassDefinition); expect(resClassDefs.length).toEqual(12); - expect(resClassDefs[0].id).toEqual("http://0.0.0.0:3333/ontology/0001/anything/v2#AudioSequenceThing"); + expect(resClassDefs[0].id).toEqual("http://0.0.0.0:3333/ontology/0001/anything/v2#AudioThing"); const standoffClassDefs = response.getClassDefinitionsByType(StandoffClassDefinition); expect(standoffClassDefs.length).toEqual(1);