Skip to content

Commit

Permalink
Bump HIC.FAnsiSql from 3.2.5 to 3.2.6 (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jul 17, 2024
1 parent 354393e commit 5a66b91
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageVersion Include="Equ" Version="2.3.0" />
<PackageVersion Include="fo-dicom.Imaging.ImageSharp" Version="5.1.3" />
<PackageVersion Include="HIC.DicomTypeTranslation" Version="4.1.2" />
<PackageVersion Include="HIC.FAnsiSql" Version="3.2.5" />
<PackageVersion Include="HIC.FAnsiSql" Version="3.2.6" />
<PackageVersion Include="HIC.RDMP.Plugin" Version="8.2.0" />
<PackageVersion Include="HIC.Tesseract" Version="4.1.1" />
<PackageVersion Include="IKVM" Version="8.7.1" />
Expand Down
8 changes: 8 additions & 0 deletions Tests/IsIdentifiableTests/DatabaseTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ public void CheckFiles()
var constr = element?.Element("ConnectionString")?.Value;

TestConnectionStrings.Add(databaseType, constr);
// Make sure our scratch db exists for PostgreSQL
if (databaseType == DatabaseType.PostgreSql)
{
var server = GetTestServer(DatabaseType.PostgreSql);
if (server.DiscoverDatabases()
.All(db => db.GetWrappedName()?.Contains(_testScratchDatabase) != true))
server.CreateDatabase(_testScratchDatabase);
}
}
}
catch (Exception exception)
Expand Down

0 comments on commit 5a66b91

Please sign in to comment.