Skip to content

Commit

Permalink
suppress dependency errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MaceWindu committed Nov 12, 2022
1 parent 8d90511 commit b85d748
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
<Import Project="..\..\Build\linq2db.Tests.props" />

<ItemGroup>
<Compile Remove="Models\UniversalEntities\**" />
<EmbeddedResource Remove="Models\UniversalEntities\**" />
<None Remove="Models\UniversalEntities\**" />
<Compile Remove="Models\UniversalEntities\**" />
<EmbeddedResource Remove="Models\UniversalEntities\**" />
<None Remove="Models\UniversalEntities\**" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" />
<!--TODO: remove after v7 release-->
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational">
<NoWarn>NU1107;NU1608</NoWarn>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public PomeloMySqlTests()
//new SqlServerDbContextOptionsBuilder(optionsBuilder);

var connectionString = "Server=DBHost;Port=3306;Database=TestData;Uid=TestUser;Pwd=TestPassword;charset=utf8;";
//var connectionString = "Server=localhost;Port=3306;Database=TestData;Uid=root;Pwd=root;charset=utf8;";
//var connectionString = "Server=localhost;Port=3316;Database=TestData;Uid=root;Pwd=root;charset=utf8;";
optionsBuilder.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString));

optionsBuilder.UseLoggerFactory(TestUtils.LoggerFactory);
Expand Down

0 comments on commit b85d748

Please sign in to comment.