Skip to content

Commit faaefdb

Browse files
ci: update Mock test to latest and switch Runner for format check (#337)
1 parent ad66666 commit faaefdb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/code_health.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464
"flutter pub get"
6565
6666
format:
67-
runs-on: ubuntu-latest
67+
# switch back to ubuntu-latest when swiftformat is working again
68+
runs-on: macos-latest
6869
steps:
6970
- uses: actions/[email protected]
7071
- uses: subosito/flutter-action@v2

packages/firebase_ui_firestore/test/table_builder_test.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Future<void> main() async {
9999
);
100100

101101
testWidgets(
102-
'FirestoreDataTable without default dell dialog editor is render as expected',
102+
'FirestoreDataTable without default dell dialog editor is rendering as expected',
103103
(WidgetTester tester) async {
104104
await tester.pumpWidget(
105105
_dataTableBuilder(
@@ -346,6 +346,7 @@ class MockCollection extends Mock
346346
@override
347347
Stream<QuerySnapshot<Map<String, Object?>>> snapshots({
348348
bool includeMetadataChanges = false,
349+
ListenSource source = ListenSource.defaultSource,
349350
}) {
350351
return super.noSuchMethod(
351352
Invocation.method(#snapshots, null, {
@@ -478,6 +479,7 @@ class MockQuery extends Mock implements Query<Map<String, Object?>> {
478479
@override
479480
Stream<Snapshot> snapshots({
480481
bool? includeMetadataChanges = false,
482+
ListenSource source = ListenSource.defaultSource,
481483
}) {
482484
return super.noSuchMethod(
483485
Invocation.method(#snapshots, null, {

0 commit comments

Comments
 (0)