20 lines
900 B
Dart
20 lines
900 B
Dart
// This is a basic Flutter widget test.
|
|
//
|
|
// To perform an interaction with a widget in your test, use the WidgetTester
|
|
// utility in the flutter_test package. For example, you can send tap and scroll
|
|
// gestures. You can also use WidgetTester to find child widgets in the widget
|
|
// tree, read text, and verify that the values of widget properties are correct.
|
|
|
|
void main() {
|
|
// test('bind device with token', () async {
|
|
// var dio = DioClient.create(
|
|
// "eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjliODA0MjY3LWUzNTEtNDhiZC04OTk2LTQzYTBkMGM1ODIxMyJ9.ilt4o9m0ayf12nmA-qXwkL7m2H098ZH2EbBOULFS8-W5DUowT_iFEuI8RIEt-oqrik7jPcwfNtFcqBJkoYKRxg",
|
|
// );
|
|
// DeviceHttpDatasource deviceHttpDatasource = DeviceHttpDatasourceImpl(dio);
|
|
// await deviceHttpDatasource.bindDevice(
|
|
// "MC700PLUS-CN-JS-1760408682847-0000002A-A99999",
|
|
// "CC的小机器",
|
|
// );
|
|
// });
|
|
}
|