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()
19
19
public async Task InitializeAsync ( )
20
20
{
21
21
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 ;
24
26
}
25
27
26
28
public Task DisposeAsync ( )
27
29
{
28
30
return _mySqlResource . DisposeAsync ( ) ;
29
31
}
30
32
}
31
-
33
+
32
34
[ CollectionDefinition ( "Mysql collection" ) ]
33
35
public class MysqlCollection : ICollectionFixture < MysqlDockerSetup >
34
36
{
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<ItemGroup >
4
- <PackageReference Include =" Squadron.MySql" Version =" 0.17.0 " />
4
+ <PackageReference Include =" Squadron.MySql" Version =" 0.18.0-preview.7 " />
5
5
</ItemGroup >
6
6
7
7
<ItemGroup >
You can’t perform that action at this time.
0 commit comments