forked from eatvio/eatvio_app
refactor(tests): update model instantiation to use const for improved performance
This commit is contained in:
@@ -31,7 +31,7 @@ void main() {
|
||||
|
||||
test('getConsultants - успешная загрузка консультантов', () async {
|
||||
final testConsultants = [
|
||||
FeedConsultantModel(
|
||||
const FeedConsultantModel(
|
||||
slug: 'consultant-1',
|
||||
name: 'Консультант 1',
|
||||
description: 'Описание консультанта 1',
|
||||
@@ -40,7 +40,7 @@ void main() {
|
||||
badges: [],
|
||||
ratingPlace: 1,
|
||||
),
|
||||
FeedConsultantModel(
|
||||
const FeedConsultantModel(
|
||||
slug: 'consultant-2',
|
||||
name: 'Консультант 2',
|
||||
description: 'Описание консультанта 2',
|
||||
|
||||
Reference in New Issue
Block a user