mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
dcm fix --only-rules=avoid-redundant-async
This commit is contained in:
@@ -30,7 +30,7 @@ import 'base_provider_test.mocks.dart';
|
||||
@GenerateMocks([http.Client])
|
||||
void main() {
|
||||
group('test base provider', () {
|
||||
test('Test the makeUrl helper', () async {
|
||||
test('Test the makeUrl helper', () {
|
||||
final WgerBaseProvider provider = WgerBaseProvider(testAuthProvider);
|
||||
|
||||
expect(
|
||||
@@ -63,7 +63,7 @@ void main() {
|
||||
);
|
||||
});
|
||||
|
||||
test('Test the makeUrl helper with sub url', () async {
|
||||
test('Test the makeUrl helper with sub url', () {
|
||||
// Trailing slash is removed when saving the server URL
|
||||
testAuthProvider.serverUrl = 'https://example.com/wger-url';
|
||||
final WgerBaseProvider provider = WgerBaseProvider(testAuthProvider);
|
||||
|
||||
Reference in New Issue
Block a user