Skip to content

Commit 4f64381

Browse files
committed
undo editing test
1 parent 98dec35 commit 4f64381

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Assets/Tests/InputSystem/Plugins/PlayerInputTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ public void PlayerInput_CanUseSameActionsForUIInputModule()
149149
eventSystemGO.SetActive(true);
150150
playerGO.SetActive(true);
151151

152-
Assert.That(player.actions.FindActionMap("Gameplay").enabled, Is.True);
153-
Assert.That(player.actions.FindActionMap("UI").enabled, Is.False);
154-
Assert.That(uiModule.actionsAsset["UI/Navigate"].controls, Is.Empty);
155-
Assert.That(uiModule.actionsAsset["UI/Point"].controls, Is.EquivalentTo(new[] { mouse.position }));
156-
Assert.That(uiModule.actionsAsset["UI/Click"].controls, Is.EquivalentTo(new[] { mouse.leftButton }));
152+
Assert.That(actions.FindActionMap("Gameplay").enabled, Is.True);
153+
Assert.That(actions.FindActionMap("UI").enabled, Is.True);
154+
Assert.That(actions["UI/Navigate"].controls, Is.Empty);
155+
Assert.That(actions["UI/Point"].controls, Is.EquivalentTo(new[] { mouse.position }));
156+
Assert.That(actions["UI/Click"].controls, Is.EquivalentTo(new[] { mouse.leftButton }));
157157
}
158158

159159
[Test]

0 commit comments

Comments
 (0)