From a1fdacc49c961decda33dd1f64d7b937c8ba16fb Mon Sep 17 00:00:00 2001 From: Chris Tremblay Date: Wed, 25 Oct 2023 21:37:59 -0400 Subject: [PATCH] updates --- .../src/main/resources/application.properties | 5 ++--- .../com/chtrembl/petstoreassistant/ApplicationTests.java | 5 +---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/petstore/petstoreassistant/src/main/resources/application.properties b/petstore/petstoreassistant/src/main/resources/application.properties index cbc2ed2e..ed6339e5 100644 --- a/petstore/petstoreassistant/src/main/resources/application.properties +++ b/petstore/petstoreassistant/src/main/resources/application.properties @@ -6,6 +6,5 @@ MicrosoftAppId= MicrosoftAppPassword= #https://azurepetstoreassistant.azurewebsites.net/api/messages server.port=3978 -aoai.key=${AOAI_KEY} -cognitive.search.key=${CS_KEY} - +aoai.key=replace +cognitive.search.key=replace \ No newline at end of file diff --git a/petstore/petstoreassistant/src/test/java/com/chtrembl/petstoreassistant/ApplicationTests.java b/petstore/petstoreassistant/src/test/java/com/chtrembl/petstoreassistant/ApplicationTests.java index 0d6b6ac0..7fe9e6ba 100644 --- a/petstore/petstoreassistant/src/test/java/com/chtrembl/petstoreassistant/ApplicationTests.java +++ b/petstore/petstoreassistant/src/test/java/com/chtrembl/petstoreassistant/ApplicationTests.java @@ -3,16 +3,12 @@ package com.chtrembl.petstoreassistant; -import static org.junit.Assert.assertEquals; - import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; -import com.chtrembl.petstoreassistant.model.DPResponse; import com.chtrembl.petstoreassistant.model.ProductsCache; -import com.chtrembl.petstoreassistant.utility.PetStoreAssistantUtilities; @RunWith(SpringRunner.class) @SpringBootTest @@ -26,5 +22,6 @@ public void testFindProducts() { ProductsCache productsCache = new ProductsCache(); // add tests back + } }