mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 08:07:59 -06:00
Started removing tight coupling
This commit is contained in:
@@ -54,7 +54,7 @@ void main() async {
|
||||
),
|
||||
build: () => DocumentsCubit(documentRepository),
|
||||
seed: () => DocumentsState.initial,
|
||||
act: (bloc) => bloc.loadDocuments(),
|
||||
act: (bloc) => bloc.load(),
|
||||
expect: () => [
|
||||
DocumentsState(
|
||||
isLoaded: true,
|
||||
@@ -83,7 +83,7 @@ void main() async {
|
||||
),
|
||||
build: () => DocumentsCubit(documentRepository),
|
||||
seed: () => DocumentsState.initial,
|
||||
act: (bloc) => bloc.loadDocuments(),
|
||||
act: (bloc) => bloc.load(),
|
||||
expect: () => [
|
||||
DocumentsState(
|
||||
isLoaded: true,
|
||||
|
||||
Reference in New Issue
Block a user