Commit a579dd18 authored by Fakhri Aunurrahim's avatar Fakhri Aunurrahim

Add location unit test

parent e498bf27
Pipeline #25705 passed with stages
in 6 minutes and 46 seconds
import 'package:flutter_test/flutter_test.dart';
import 'package:frontendeasyparking/models/location.dart:';
void main() {
test('Locations can be fetched', () {
final locations = Location.fetchAll();
expect(locations.length, greaterThan(0));
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment