fix : update local.properties path and improve null safety in chicken_local_imp.dart and chicken_repository_imp.dart; refactor profile view for better readability
This commit is contained in:
32
packages/chicken/test/test_config.dart
Normal file
32
packages/chicken/test/test_config.dart
Normal file
@@ -0,0 +1,32 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user