test: fix integration tests (#3977)

This commit is contained in:
Richard Shiue 2023-11-21 21:50:31 +08:00 committed by GitHub
parent acc951c5eb
commit b00d29d0cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

View File

@ -4,9 +4,7 @@ import 'package:appflowy/plugins/database_view/application/row/row_controller.da
import 'package:appflowy/plugins/database_view/application/row/row_service.dart'; import 'package:appflowy/plugins/database_view/application/row/row_service.dart';
import 'package:appflowy/plugins/database_view/grid/application/row/row_bloc.dart'; import 'package:appflowy/plugins/database_view/grid/application/row/row_bloc.dart';
import 'package:appflowy/plugins/database_view/widgets/row/cell_builder.dart'; import 'package:appflowy/plugins/database_view/widgets/row/cell_builder.dart';
import 'package:appflowy/plugins/database_view/widgets/row/row_property.dart';
import 'package:appflowy_popover/appflowy_popover.dart'; import 'package:appflowy_popover/appflowy_popover.dart';
import 'package:flowy_infra/theme_extension.dart'; import 'package:flowy_infra/theme_extension.dart';
import 'package:flowy_infra_ui/flowy_infra_ui.dart'; import 'package:flowy_infra_ui/flowy_infra_ui.dart';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
@ -274,8 +272,7 @@ class RowContent extends StatelessWidget {
) { ) {
return cellByFieldId.values.map( return cellByFieldId.values.map(
(cellId) { (cellId) {
final cellStyle = customCellStyle(cellId.fieldType); final GridCellWidget child = builder.build(cellId);
final GridCellWidget child = builder.build(cellId, style: cellStyle);
return CellContainer( return CellContainer(
width: cellId.fieldInfo.fieldSettings?.width.toDouble() ?? 140, width: cellId.fieldInfo.fieldSettings?.width.toDouble() ?? 140,

View File

@ -25,7 +25,7 @@ class GridCellBuilder {
GridCellWidget build( GridCellWidget build(
DatabaseCellContext cellContext, { DatabaseCellContext cellContext, {
required GridCellStyle? style, GridCellStyle? style,
}) { }) {
final cellControllerBuilder = CellControllerBuilder( final cellControllerBuilder = CellControllerBuilder(
cellContext: cellContext, cellContext: cellContext,

View File

@ -713,10 +713,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: go_router name: go_router
sha256: "5668e6d3dbcb2d0dfa25f7567554b88c57e1e3f3c440b672b24d4a9477017d5b" sha256: c247a4f76071c3b97bb5ae8912968870d5565644801c5e09f3bc961b4d874895
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "10.1.2" version: "12.1.1"
google_fonts: google_fonts:
dependency: "direct main" dependency: "direct main"
description: description: