Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Aug 25, 2020
1 parent 7a7fafd commit a84254c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,6 +1,6 @@
name: mooncake
description: A decentralized microblogging application based on Desmos
version: 0.4.3+04300
version: 0.4.4+04400

environment:
sdk: ">=2.9.0 <3.0.0"
Expand Down
11 changes: 2 additions & 9 deletions test/ui/widgets/post_reactions_list/index_test.dart
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:flutter/material.dart';
import 'package:mooncake/ui/ui.dart';
import 'package:mooncake/entities/entities.dart';
import '../../../mocks/posts.dart';
import '../../../mocks/mocks.dart';
import '../../helper.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:mockito/mockito.dart';
Expand All @@ -13,14 +13,7 @@ void main() {
MooncakeAccount userAccount = MooncakeAccount(
profilePicUri: "https://example.com/avatar.png",
moniker: "john-doe",
cosmosAccount: CosmosAccount(
accountNumber: 153,
address: "desmos1ew60ztvqxlf5kjjyyzxf7hummlwdadgesu3725",
coins: [
StdCoin(amount: "10000", denom: "udaric"),
],
sequence: 45,
),
cosmosAccount: cosmosAccount,
);
List<Reaction> reactionTest = [
Reaction(user: userAccount, value: 'laugh', code: "123"),
Expand Down

0 comments on commit a84254c

Please sign in to comment.