File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Assets/UniStateTests/EditMode/States Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,14 @@ namespace UniStateTests.EditMode.Common
1212 [ TestFixture ]
1313 internal class StateDisposablesTests : ZenjectTestsBase
1414 {
15+ internal class TestStateMachine : StateMachine
16+ {
17+ protected override void HandleError ( StateMachineErrorData errorData )
18+ {
19+ // Do nothing
20+ }
21+ }
22+
1523 private class DisposablesState : StateBase < IList < IDisposable > >
1624 {
1725 public override UniTask < StateTransitionInfo > Execute ( CancellationToken token )
@@ -62,7 +70,7 @@ private void ExecuteState<TState>(IList<IDisposable> disposables)
6270
6371 protected override void SetupBindings ( DiContainer container )
6472 {
65- container . BindStateMachine < IStateMachine , StateMachine > ( ) ;
73+ container . BindStateMachine < IStateMachine , TestStateMachine > ( ) ;
6674 container . BindState < DisposablesState > ( ) ;
6775 container . BindState < ExceptionDisposableState > ( ) ;
6876 }
You can’t perform that action at this time.
0 commit comments