Skip to content

Commit 8a8ded7

Browse files
committed
Update tests
1 parent 4243904 commit 8a8ded7

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

test/providers/ui_providers_test.dart

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,13 @@ void main() {
214214
});
215215

216216
group("Testing selectedIdEditStateProvider", () {
217-
testWidgets(
218-
'selectedIdEditStateProvider should have an initial value of null',
219-
(tester) async {
217+
testWidgets('It should have an initial value of null', (tester) async {
220218
await tester.pumpWidget(
221219
const ProviderScope(
222220
child: MaterialApp(
223-
home: CollectionPane(),
221+
home: Scaffold(
222+
body: CollectionPane(),
223+
),
224224
),
225225
),
226226
);
@@ -237,7 +237,9 @@ void main() {
237237
await tester.pumpWidget(
238238
const ProviderScope(
239239
child: MaterialApp(
240-
home: CollectionPane(),
240+
home: Scaffold(
241+
body: CollectionPane(),
242+
),
241243
),
242244
),
243245
);
@@ -267,7 +269,9 @@ void main() {
267269
await tester.pumpWidget(
268270
const ProviderScope(
269271
child: MaterialApp(
270-
home: CollectionPane(),
272+
home: Scaffold(
273+
body: CollectionPane(),
274+
),
271275
),
272276
),
273277
);
@@ -303,7 +307,9 @@ void main() {
303307
await tester.pumpWidget(
304308
const ProviderScope(
305309
child: MaterialApp(
306-
home: CollectionPane(),
310+
home: Scaffold(
311+
body: CollectionPane(),
312+
),
307313
),
308314
),
309315
);

0 commit comments

Comments
 (0)