Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
Fix merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
schwartz-concordium committed Nov 20, 2023
1 parent 4bf14ae commit 6b2e8a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/terms_and_conditions_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:bloc_test/bloc_test.dart';
import 'package:concordium_wallet/entities/accepted_terms_and_conditions.dart';
import 'package:concordium_wallet/services/url_launcher.dart';
import 'package:concordium_wallet/state/terms_and_conditions.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
Expand All @@ -25,15 +26,15 @@ void main() {
const String acceptedVersion = "1.0.0";

setUpAll(() {
registerFallbackValue(const AcceptedTermsAndConditions(version: validVersion));
registerFallbackValue(AcceptedTermsAndConditions.acceptNow(validVersion));
});

setUp(() {
checked = false;

final terms = TermsAndConditions(Uri.parse("localhost"), validVersion);
state = TermsAndConditionsAcceptanceState(
accepted: const AcceptedTermsAndConditions(version: acceptedVersion),
accepted: AcceptedTermsAndConditions.acceptNow(acceptedVersion),
valid: ValidTermsAndConditions.refreshedNow(termsAndConditions: terms));

// Build the terms and condition screen we wish to test
Expand Down

0 comments on commit 6b2e8a3

Please sign in to comment.