Skip to content

Commit 2f13157

Browse files
committed
fix: fixed broken tests
1 parent 4f25ded commit 2f13157

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

test/src/common/card_utils_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ void main() {
8080

8181
group("#hasMonthPassed", () {
8282
final cases = [
83-
Case(inp: [2020, 10], out: false),
83+
Case(inp: [2021, 10], out: false),
8484
Case(inp: [10, 0], out: true),
8585
Case(inp: [0, 0], out: true),
8686
Case(inp: [1994, 1], out: true),
8787
Case(inp: [1, 1], out: true),
8888
Case(inp: [-203, -13], out: true),
8989
Case(inp: [22, 10], out: false),
90-
Case(inp: [2020, 05], out: false),
90+
Case(inp: [2021, 05], out: false),
9191
Case(inp: [null, 05], out: true),
9292
Case(inp: [24, null], out: true),
9393
Case(inp: [null, null], out: true),
@@ -121,14 +121,14 @@ void main() {
121121

122122
group("#isNotExpired", () {
123123
final cases = [
124-
Case(inp: [2020, 10], out: true),
124+
Case(inp: [2021, 10], out: true),
125125
Case(inp: [10, 0], out: false),
126126
Case(inp: [0, 0], out: false),
127127
Case(inp: [1994, 1], out: false),
128128
Case(inp: [1, 1], out: false),
129129
Case(inp: [-203, -13], out: false),
130130
Case(inp: [22, 10], out: true),
131-
Case(inp: [2020, 05], out: true),
131+
Case(inp: [2021, 05], out: true),
132132
Case(inp: [24, null], out: false),
133133
Case(inp: [null, null], out: false),
134134
Case(inp: [45, 67], out: false),

test/src/common/paystack_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'package:flutter_paystack/src/common/paystack.dart';
55
import 'package:flutter_test/flutter_test.dart';
66

77
void main() {
8-
const MethodChannel channel = MethodChannel('flutter_paystack');
8+
const MethodChannel channel = MethodChannel('plugins.wilburt/flutter_paystack');
99

1010
TestWidgetsFlutterBinding.ensureInitialized();
1111

test/src/common/utils_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import 'package:flutter_test/flutter_test.dart';
88
import 'package:matcher/matcher.dart';
99

1010
void main() {
11-
const MethodChannel channel = MethodChannel('flutter_paystack');
11+
const MethodChannel channel = MethodChannel('plugins.wilburt/flutter_paystack');
1212

1313
TestWidgetsFlutterBinding.ensureInitialized();
1414

0 commit comments

Comments
 (0)