File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
stroom-app/src/test/java/stroom/test Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -238,10 +238,13 @@ private synchronized void cacheContentStore() throws RuntimeException {
238238 // Generate the file: URL of the content-store YAML file
239239 final String contentStoreFileUrl = "file://" +
240240 localContentRepo .resolve ("source/content-store.yml" );
241+ final String sampleContentStoreFileUrl = "file://" +
242+ localContentRepo .resolve ("sample-source/content-store.yml" );
241243
242244 // Hack to force the content store config to use our content store config file
243245 contentStoreResource = contentStoreResourceProvider .get ();
244246 contentStoreResource .addTestUriContentStoreUrl (contentStoreFileUrl );
247+ contentStoreResource .addTestUriContentStoreUrl (sampleContentStoreFileUrl );
245248
246249 // Tell the content store to get from our local GIT repo instead of the https version
247250 contentStoreResource .remapGitUrl ("https://github.com/gchq/stroom-content.git" ,
Original file line number Diff line number Diff line change 2424import stroom .config .app .Config ;
2525import stroom .config .app .ConfigHolder ;
2626import stroom .index .VolumeTestConfigModule ;
27+ import stroom .langchain .impl .MockOpenAIModule ;
2728import stroom .meta .statistics .impl .MockMetaStatisticsModule ;
2829import stroom .resource .impl .ResourceModule ;
2930import stroom .security .mock .MockUserSecurityContextModule ;
@@ -68,5 +69,6 @@ protected void configure() {
6869 install (new MockMetaStatisticsModule ());
6970 install (new stroom .test .DatabaseTestControlModule ());
7071 install (new JerseyModule ());
72+ install (new MockOpenAIModule ());
7173 }
7274}
You can’t perform that action at this time.
0 commit comments