refactor: replace InventoryModel with ProductModel across the application, removing unused inventory model files and updating related repository and UI components
This commit is contained in:
@@ -7,7 +7,7 @@ import 'package:rasadyar_chicken/data/models/request/create_steward_free_bar/cre
|
||||
import 'package:rasadyar_chicken/data/models/response/allocated_made/allocated_made.dart';
|
||||
import 'package:rasadyar_chicken/data/models/response/broadcast_price/broadcast_price.dart';
|
||||
import 'package:rasadyar_chicken/data/models/response/guild_profile/guild_profile.dart';
|
||||
import 'package:rasadyar_chicken/data/models/response/inventory/inventory_model.dart';
|
||||
import 'package:rasadyar_chicken/data/models/response/roles_products/roles_products.dart';
|
||||
import 'package:rasadyar_chicken/data/models/response/kill_house_distribution_info/kill_house_distribution_info.dart';
|
||||
import 'package:rasadyar_chicken/data/models/response/segmentation_model/segmentation_model.dart';
|
||||
import 'package:rasadyar_chicken/data/models/response/steward_free_bar/steward_free_bar.dart';
|
||||
@@ -117,12 +117,12 @@ void main() {
|
||||
test('should complete inventory management workflow', () async {
|
||||
// Arrange
|
||||
final expectedInventory = [
|
||||
InventoryModel(
|
||||
ProductModel(
|
||||
key: 'inventory-1',
|
||||
name: 'Product 1',
|
||||
totalCarcassesQuantity: 100,
|
||||
),
|
||||
InventoryModel(
|
||||
ProductModel(
|
||||
key: 'inventory-2',
|
||||
name: 'Product 2',
|
||||
totalCarcassesQuantity: 200,
|
||||
|
||||
Reference in New Issue
Block a user