33 lines
887 B
Dart
33 lines
887 B
Dart
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
/// Test configuration for the chicken package
|
|
class TestConfig {
|
|
static const String testToken = 'test-token-12345';
|
|
static const String testPhoneNumber = '09123456789';
|
|
static const String testDeviceName = 'Test Device';
|
|
|
|
static const Map<String, dynamic> testAuthRequest = {
|
|
'username': 'test@example.com',
|
|
'password': 'testpassword123',
|
|
};
|
|
|
|
static const Map<String, dynamic> testQueryParameters = {
|
|
'page': '1',
|
|
'limit': '10',
|
|
};
|
|
|
|
static const String testStartDate = '2024-01-01';
|
|
static const String testEndDate = '2024-01-31';
|
|
|
|
/// Setup method for test initialization
|
|
static void setupTests() {
|
|
// Configure test environment
|
|
TestWidgetsFlutterBinding.ensureInitialized();
|
|
}
|
|
|
|
/// Cleanup method for test teardown
|
|
static void cleanupTests() {
|
|
// Clean up test resources
|
|
}
|
|
}
|