Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeroYang committed Sep 10, 2020
1 parent 18c7bd8 commit db15d1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/store/settings_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ void main() {
test('network endpoint test', () async {
await store.init('_en');
expect(store.endpoint.info, networkEndpointKusama.info);
expect(store.endpointList.length, 4);
expect(store.endpointList.length >= 4, true);
store.setEndpoint(networkEndpointPolkadot);
expect(store.endpoint.info, networkEndpointPolkadot.info);
expect(store.endpointList.length, 3);
expect(store.endpointList.length >= 3, true);
store.setEndpoint(networkEndpointAcala);
expect(store.endpoint.info, networkEndpointAcala.info);
expect(store.endpointList.length, 3);
expect(store.endpointList.length >= 3, true);
});

test('set network state properly', () async {
Expand Down

0 comments on commit db15d1b

Please sign in to comment.