Skip to content

Commit

Permalink
Change TestKitBase.InitializeTest to virtual so it can be deferred (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus committed Sep 10, 2022
1 parent 03190b5 commit 63639b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Akka.TestKit/TestKitBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,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 63639b9

Please sign in to comment.