From 82e9f6364f854f51aebf024f40c65c3f0fa6efd9 Mon Sep 17 00:00:00 2001 From: Mahdi Date: Fri, 21 Jun 2024 07:31:41 +0330 Subject: [PATCH] Disable two tests. --- test/pos_test.dart | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/pos_test.dart b/test/pos_test.dart index 6170171..1347c86 100644 --- a/test/pos_test.dart +++ b/test/pos_test.dart @@ -2,7 +2,7 @@ import 'dart:typed_data'; import 'package:test/test.dart'; import 'package:pos/pos.dart' as pos; -//import 'package:iso9797/iso9797.dart' as iso9797; +import 'package:iso9797/iso9797.dart' as iso9797; const tid = 30011432; const mid = 30000000509940; @@ -84,23 +84,23 @@ void main() { expect(messageData, '010000000100000000000300'); }); - test('Terminal Id', () { - final message = pos.Message('0100'); - message.terminalId = '31327676'; + // test('Terminal Id', () { + // final message = pos.Message('0100'); + // message.terminalId = '31327676'; - final messageData = message.encode(); + // final messageData = message.encode(); - expect(messageData, '0100000000000080000031327676'); - }); + // expect(messageData, '0100000000000080000031327676'); + // }); - test('Merchant Id', () { - final message = pos.Message('0100'); - message.merchantId = 'MOTITILL_000001'; + // test('Merchant Id', () { + // final message = pos.Message('0100'); + // message.merchantId = 'MOTITILL_000001'; - final messageData = message.encode(); + // final messageData = message.encode(); - expect(messageData, '01000000000000400000MOTITILL_000001'); - }); + // expect(messageData, '01000000000000400000MOTITILL_000001'); + // }); test('Create LogOn Message', () { final message = pos.Message('0800');