18 lines
747 B
Dart
18 lines
747 B
Dart
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:siro_maps/core/constants/api_constants.dart';
|
|
import 'package:siro_maps/core/env/env.dart';
|
|
|
|
void main() {
|
|
group('Env & Obfuscated Secrets Verification', () {
|
|
test('MapSaaS API key is decrypted correctly from obfuscated bytecode', () {
|
|
expect(Env.mapSaasApiKey, equals('in_9478b32836d19cff73db3063'));
|
|
expect(ApiConstants.mapSaasKey, equals('in_9478b32836d19cff73db3063'));
|
|
});
|
|
|
|
test('Google Map API key is decrypted correctly from obfuscated bytecode', () {
|
|
expect(Env.googleMapApiKey, equals('AIzaSyAPFR_XbRN0XZ5Iz3AYDjNYHGJG2s2QWwM'));
|
|
expect(ApiConstants.googleMapApiKey, equals('AIzaSyAPFR_XbRN0XZ5Iz3AYDjNYHGJG2s2QWwM'));
|
|
});
|
|
});
|
|
}
|