Skip to content

Commit

Permalink
Allow changing an open connection if it's not owned
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven.Darby authored and Steven.Darby committed Apr 17, 2023
1 parent 1f72536 commit a430efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/EFCore.Relational.Tests/RelationalConnectionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ public void Throws_when_changing_DbConnection_if_current_is_open_and_owned()
}

[ConditionalFact]
public void Disposes_when_changing_DbConnection_if_current_is_not_open()
public void Disposes_when_changing_DbConnection_if_current_is_owned_and_not_open()
{
using var connection = new FakeRelationalConnection(
CreateOptions(new FakeRelationalOptionsExtension().WithConnectionString("Database=FrodoLives")));
Expand Down

0 comments on commit a430efa

Please # to comment.