Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: phuoc <[email protected]>
  • Loading branch information
phuocbitmark committed Dec 5, 2023
1 parent b17039a commit f7a01d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/gateway/token_service_mock_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import '../services/activation_service_test.mocks.dart';
import 'constants.dart';

class TokenServiceMockData {

static AssetToken anyAssetToken = AssetToken(id: id,
static AssetToken anyAssetToken = AssetToken(
id: id,
edition: 0,
editionName: 'editionName',
blockchain: blockchain,
Expand All @@ -25,7 +25,7 @@ class TokenServiceMockData {
balance: null);

static void setUp(MockTokensService tokensService) {
when(tokensService.setCustomTokens(any)).thenAnswer((_) async =>
{Future.delayed(const Duration(milliseconds: 100), () => true)});
when(tokensService.setCustomTokens(any))
.thenAnswer((_) => Future.value()); // ignore: always_specify_types
}
}

0 comments on commit f7a01d9

Please sign in to comment.