Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

[Azure Search 1] Add DatabaseOwnerFetcher to query for current owner information #501

Merged
merged 1 commit into from
May 1, 2019

Conversation

@joelverhagen joelverhagen changed the title Add DatabaseOwnerFetcher to query for current owner information [Azure Search 1] Add DatabaseOwnerFetcher to query for current owner information Apr 10, 2019
Copy link
Contributor

@zhhyu zhhyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can not implement any unit tests for this kind of functionality?

@joelverhagen
Copy link
Member Author

There are two problems with unit tests here:

  1. There's not much useful to assert with regards to the SQL string itself.
  2. The factory returns SqlConnection which is not mockable.

Because of these hurdles and since the code is small, I chose not to unit test it.

@loic-sharma loic-sharma changed the base branch from azuresearch to dev April 15, 2019 21:38
@loic-sharma
Copy link
Contributor

@joelverhagen The azuresearch branch was merged into the dev branch. I updated this to target the dev branch

@joelverhagen joelverhagen deleted the jver-owners branch May 1, 2019 15:48
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.

4 participants