dcm fix --only-rules=avoid-redundant-async

This commit is contained in:
Dieter Plaetinck
2024-09-18 15:47:58 +03:00
parent dfd18d1158
commit a589d87fad
13 changed files with 33 additions and 35 deletions

View File

@@ -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);