Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-retail:2.4.0'
implementation 'com.google.cloud:google-cloud-retail:2.5.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.4.0"
libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.5.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
public class UpdateUserEventsJson {

public static void main(String[] args) throws IOException {
// TODO(developer): Replace these variables before running the sample.
String filePath = "src/main/resources/user_events.json";

String invalidFilePath = "src/main/resources/user_events_some_invalid.json";
updateEventsTimestamp(filePath);
updateEventsTimestamp(invalidFilePath);
}

public static void updateEventsTimestamp(String jsonFile) throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void setUp() throws IOException, InterruptedException, ExecutionException
public void testAddFulfillment() {
String outputResult = bout.toString();

assertThat(outputResult).contains("Add fulfilment places with current date");
assertThat(outputResult).contains("Add fulfilment places");
assertThat(outputResult).contains("Add fulfillment places, wait 45 seconds");
}

Expand Down