From 871f604b49dce138d37f58e20816eb1b74d26c99 Mon Sep 17 00:00:00 2001 From: alestiago Date: Sun, 1 May 2022 23:54:20 +0100 Subject: [PATCH] refactor: removed priority instances --- .../test/src/components/layer_sensor_test.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/pinball_components/test/src/components/layer_sensor_test.dart b/packages/pinball_components/test/src/components/layer_sensor_test.dart index 20ba8472..9103a966 100644 --- a/packages/pinball_components/test/src/components/layer_sensor_test.dart +++ b/packages/pinball_components/test/src/components/layer_sensor_test.dart @@ -121,12 +121,11 @@ void main() { insideLayer = Layer.spaceshipEntranceRamp; when(() => ball.body).thenReturn(body); - when(() => ball.priority).thenReturn(1); when(() => ball.layer).thenReturn(Layer.board); }); flameTester.test( - 'changes ball layer and priority ' + 'changes ball layer and zIndex ' 'when a ball enters and exits a downward oriented LayerSensor', (game) async { final sensor = TestLayerSensor( @@ -149,7 +148,7 @@ void main() { }); flameTester.test( - 'changes ball layer and priority ' + 'changes ball layer and zIndex ' 'when a ball enters and exits an upward oriented LayerSensor', (game) async { final sensor = TestLayerSensor(