해결이 어려운 부분이 있습니다 ㅠㅠ
import 'package:flutter/material.dart'; import 'package:flutter_dust/models/AirResult.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_dust/main.dart'; import 'package:http/http.dart' as http; import 'dart:convert'; void main() { test('http 통신 테스트', () async { var response = await http.get(Uri.parse( 'https://api.iqair.com/v2/nearest_city?key=b41f3555-5530-428c-84b7-da354eb5170c')); expect(response.statusCode, 200); AirResult result = AirResult.fromJson(json.decode(response.body)); expect(result.status, 'success'); }); } HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: Hostname mismatch(../../third_party/boringssl/src/ssl/handshake.cc:393))에러가 뜸닙니다.