Skip to content

Commit

Permalink
Merge branch 'testingtests' of https://github.com/dataplat/dbatools i…
Browse files Browse the repository at this point in the history
…nto testingtests
  • Loading branch information
jpomfret committed Jun 7, 2024
2 parents b0aa717 + fe3eaa1 commit 93b10d7
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions tests/ConvertTo-DbaDataTable.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -172,35 +172,6 @@ Describe "Testing data table output when using a complex object" {
}
}

Context "Property: inlining" {
It 'Has a column called "inlining"' {
$result.Columns.ColumnName | Should -Contain 'inlining'
}
It 'Has a [string] data type on the column "inlining"' {
Write-Host -Fore Magenta "START 'inlining'"
Write-Host -Fore Magenta "result type dump $($result.inlining.GetType() | Format-Table | Out-String)"
Write-Host -Fore Magenta "firstRow type dump $($firstRow.inlining.GetType() | Format-Table | Out-String)"
Write-Host -Fore Magenta "inlining dump $($firstRow.inlining | ConvertTo-Json | Out-String)"
Write-Host -Fore Magenta "END 'inlining'"
$firstRow['inlining'] | Should -BeOfType [System.String]
$firstRow.inlining | Should -BeOfType [System.String]
}
}

Context "Property: inlining2" {
It 'Has a column called "inlining2"' {
$result.Columns.ColumnName | Should -Contain 'inlining2'
}
It 'Has a [string] data type on the column "inlining2"' {
Write-Host -Fore Magenta "START 'inlining2'"
Write-Host -Fore Magenta "result type dump $($result.inlining2.GetType() | Format-Table | Out-String)"
Write-Host -Fore Magenta "firstRow type dump $($firstRow.inlining2.GetType() | Format-Table | Out-String)"
Write-Host -Fore Magenta "inlining2 dump $($firstRow.inlining2 | ConvertTo-Json | Out-String)"
Write-Host -Fore Magenta "END 'inlining2'"
$firstRow.inlining2 | Should -BeOfType [System.String]
}
}

Context "Property: dbadatetime" {
It 'Has a column called "dbadatetime"' {
$result.Columns.ColumnName | Should -Contain 'dbadatetime'
Expand Down

0 comments on commit 93b10d7

Please sign in to comment.