feat(category): add autocomplete for category inputs
This commit is contained in:
@@ -209,9 +209,9 @@ void main() {
|
||||
// Act - 카테고리 필터 설정
|
||||
container.read(selectedCategoryProvider.notifier).state = '한식';
|
||||
container.read(searchQueryProvider.notifier).state = '김치';
|
||||
final filtered = await container.read(
|
||||
filteredRestaurantsProvider.future,
|
||||
);
|
||||
await container.read(restaurantListProvider.future);
|
||||
final filteredAsync = container.read(filteredRestaurantsProvider);
|
||||
final filtered = filteredAsync.requireValue;
|
||||
|
||||
// Assert
|
||||
expect(filtered.length, 1);
|
||||
|
||||
Reference in New Issue
Block a user