Skip to content

Issue 3687 - #5340

Merged
potatoqualitee merged 5 commits into
dataplat:developmentfrom
mikepetrak:development
Apr 6, 2019
Merged

Issue 3687#5340
potatoqualitee merged 5 commits into
dataplat:developmentfrom
mikepetrak:development

Conversation

@mikepetrak

Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix (non-breaking change, fixes #)
  • New feature (non-breaking change, adds functionality)
  • Breaking change (effects multiple commands or functionality)
  • Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
  • Adding code coverage to existing functionality
  • Pester test is included
  • If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
  • Nunit test is included
  • Documentation
  • Build system

Purpose

Allow searching in TextHeader.
Fix IncludeSystemObjects code branch issue.
Update old-style join.

Approach

Commands to test

Screenshots

Learning

Fresh fork & clone. Ran Invoke-DbaToolsFormatter on Find-DbaStoredProcedure.ps1 from Visual Studio Code.
Updated old-style join.
Fixed issue where TextHeader is not found because it's looking in the SMO instead of SQL.
Removed the unnecessary IncludeSystemObjects -> SMO branch.
@mikepetrak

mikepetrak commented Apr 5, 2019

Copy link
Copy Markdown
Contributor Author

@wsmelton , 1 test failed but it doesn't look related to my changes - any thoughts here? Thanks. :

Describe : InModule.Commands Integration Tests
Context : duplicate commands are not added
Name : It only indexes one instance per command
Result : Failed
Message : Expected $null, but got @('New-DbaDbDataGeneratorConfig', 'Invoke-DbaDbDataGenerator', 'Get-DbaRandomizedValue', 'Get-DbaRandomizedDatasetTemplate', 'Get-DbaRandomizedDataset', 'Get-DbaRandomizedType').
1 tests failed.

@mikepetrak mikepetrak mentioned this pull request Apr 5, 2019
10 tasks
@wsmelton

wsmelton commented Apr 5, 2019

Copy link
Copy Markdown
Member

That would be @potatoqualitee needs to update the manifest for some new commands that were added recently it seems.

@wsmelton

wsmelton commented Apr 5, 2019

Copy link
Copy Markdown
Member

You can ignore that test when it fails, it is something we maintain (myself and/or Chrissy).

@potatoqualitee

Copy link
Copy Markdown
Member

my bad, lemme merge fixed dev and see the passes 💯

@potatoqualitee

Copy link
Copy Markdown
Member

all tests pass! 🍌 💃 thanks so much

@potatoqualitee
potatoqualitee merged commit 825f791 into dataplat:development Apr 6, 2019
@mikepetrak

Copy link
Copy Markdown
Contributor Author

You're welcome. Thanks for the help, @wsmelton and @potatoqualitee !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants