File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
test/WorkflowCore.Tests.MySQL Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,18 @@ public MysqlDockerSetup()
1919 public async Task InitializeAsync ( )
2020 {
2121 await _mySqlResource . InitializeAsync ( ) ;
22- ConnectionString = _mySqlResource . ConnectionString ;
23- ScenarioConnectionString = _mySqlResource . ConnectionString ;
22+ var workflowConnection = await _mySqlResource . CreateDatabaseAsync ( "workflow" ) ;
23+ ConnectionString = workflowConnection . ConnectionString ;
24+ var scenariosConnection = await _mySqlResource . CreateDatabaseAsync ( "scenarios" ) ;
25+ ScenarioConnectionString = scenariosConnection . ConnectionString ;
2426 }
2527
2628 public Task DisposeAsync ( )
2729 {
2830 return _mySqlResource . DisposeAsync ( ) ;
2931 }
3032 }
31-
33+
3234 [ CollectionDefinition ( "Mysql collection" ) ]
3335 public class MysqlCollection : ICollectionFixture < MysqlDockerSetup >
3436 {
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <ItemGroup >
4- <PackageReference Include =" Squadron.MySql" Version =" 0.17.0 " />
4+ <PackageReference Include =" Squadron.MySql" Version =" 0.18.0-preview.7 " />
55 </ItemGroup >
66
77 <ItemGroup >
You can’t perform that action at this time.
0 commit comments