Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@lei9444
Copy link
Contributor

@lei9444 lei9444 commented Jan 29, 2021

Description

The outside service may be not stable, when we call it in unit tests, it may cause time out or access deny error.

In this PR
mock the luBuild and qnaBuild functions to avoid call outside service

Task Item

closes #5646

Screenshots

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 55.112% when pulling f0a5812 on lei9444:servertest into 5af3f50 on microsoft:main.

@boydc2014 boydc2014 changed the title fix: botProject call outside service when running unit tests fix: botProject UT depends on external service Jan 29, 2021
@boydc2014 boydc2014 merged commit fa60784 into microsoft:main Jan 29, 2021
alanlong9278 added a commit to alanlong9278/BotFramework-Composer that referenced this pull request Feb 1, 2021
* main:
  refactor: break down the design page(the first step) (microsoft#5623)
  fix: use directVersionPublish for LUIS to avoid 404 in bot response (microsoft#5639)
  fix: botProject UT depends on external service (microsoft#5656)
lei9444 added a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid making API call in test

3 participants