Skip to content

Commit

Permalink
Change TestKitBase.InitializeTest to virtual so it can be deferred (#…
Browse files Browse the repository at this point in the history
…6093) (#6095)

(cherry picked from commit 63639b9)
  • Loading branch information
Arkatufus committed Sep 14, 2022
1 parent 015de37 commit 46d02f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Akka.TestKit/TestKitBase.cs
Expand Up @@ -127,7 +127,7 @@ protected TestKitBase(ITestKitAssertions assertions, ActorSystem system, ActorSy
/// <param name="config">The configuration that <paramref name="system"/> will use if it's null.</param>
/// <param name="actorSystemName">The name that <paramref name="system"/> will use if it's null.</param>
/// <param name="testActorName">The name of the test actor. Can be null.</param>
protected void InitializeTest(ActorSystem system, ActorSystemSetup config, string actorSystemName, string testActorName)
protected virtual void InitializeTest(ActorSystem system, ActorSystemSetup config, string actorSystemName, string testActorName)
{
_testState = new TestState();

Expand Down

0 comments on commit 46d02f9

Please sign in to comment.