Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
fix: removes flaky intent equivalence assertion (#688)
Browse files Browse the repository at this point in the history
Because of how intents work in Dialogflow, asserting that the actual name of a resource matches the name of a newly created resource will not always be deterministic, especially if duplicate intents are added. This PR removes the offending assertion.

Fixes #623  ☕️
  • Loading branch information
telpirion committed Sep 3, 2021
1 parent 84b863c commit a965fb9
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -282,7 +282,6 @@ public void detectIntentTest() {
assertEquals(EVENT_NAME, result.getQueryText());
assertEquals(ACTION_NAME, result.getAction());
assertEquals(DEFAULT_LANGUAGE_CODE, result.getLanguageCode());
assertEquals(intent.getName(), result.getIntent().getName());
assertEquals(intent.getDisplayName(), result.getIntent().getDisplayName());
}

Expand Down

0 comments on commit a965fb9

Please sign in to comment.