Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
vietnguyengit committed Apr 23, 2024
1 parent a138f7c commit cdd9dc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import co.elastic.clients.elasticsearch.ElasticsearchClient;
import com.fasterxml.jackson.databind.JsonNode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
package au.org.aodn.esindexer.utils;

import au.org.aodn.ardcvocabs.configuration.ArdcAutoConfiguration;
import au.org.aodn.esindexer.service.AodnDiscoveryParameterVocabService;
import au.org.aodn.stac.model.ConceptModel;
import au.org.aodn.stac.model.ThemesModel;
import org.junit.jupiter.api.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;

Expand All @@ -23,7 +20,7 @@
@ActiveProfiles("test")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
public class AodnDiscoveryParameterVocabUtilsTest {
public class VocabUtilsTest {
@Autowired
AodnDiscoveryParameterVocabService aodnDiscoveryParameterVocabService;

Expand Down
4 changes: 3 additions & 1 deletion indexer/src/test/resources/canned/sample4_stac.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@
"title" : "AODN Discovery Parameter Vocabulary"
} ],
"id" : "7709f541-fc0c-4318-b5b9-9053aa474e0e",
"title_suggest" : "Ocean acidification historical reconstruction",
"record_suggest" : {
"title" : "Ocean acidification historical reconstruction"
},
"type" : "Collection",
"stac_version" : "1.0.0",
"stac_extensions" : [ "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", "https://stac-extensions.github.io/contacts/v0.1.1/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/language/v1.0.0/schema.json", "https://stac-extensions.github.io/themes/v1.0.0/schema.json" ]
Expand Down

0 comments on commit cdd9dc1

Please sign in to comment.