From d80feaa02b2f597d886045aceca9f85a11780ea7 Mon Sep 17 00:00:00 2001 From: moyin <2443444649@qq.com> Date: Fri, 2 Jan 2026 00:59:05 +0800 Subject: [PATCH] =?UTF-8?q?test=EF=BC=9A=E6=9B=B4=E6=96=B0=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=96=87=E4=BB=B6=E4=BB=A5=E9=80=82=E9=85=8D=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E9=A1=B9=E7=9B=AE=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新 auth_ui_test.tscn 中的场景引用路径 - 修复 enhanced_toast_test.gd 中的脚本路径引用 - 确保测试文件与重构后的项目结构保持一致 --- tests/auth/auth_ui_test.tscn | 2 +- tests/auth/enhanced_toast_test.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auth/auth_ui_test.tscn b/tests/auth/auth_ui_test.tscn index cb00105..0285847 100644 --- a/tests/auth/auth_ui_test.tscn +++ b/tests/auth/auth_ui_test.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=3 uid="uid://bvn8y7x2qkqxe"] [ext_resource type="Script" uid="uid://ddb8v5c6aeqe7" path="res://tests/auth/auth_ui_test.gd" id="1_test_script"] -[ext_resource type="PackedScene" uid="uid://by7m8snb4xllf" path="res://UI/Windows/LoginWindow.tscn" id="2_auth_scene"] +[ext_resource type="PackedScene" uid="uid://by7m8snb4xllf" path="res://scenes/ui/LoginWindow.tscn" id="2_auth_scene"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_feedback_info"] bg_color = Color(0.2, 0.5, 0.8, 0.9) diff --git a/tests/auth/enhanced_toast_test.gd b/tests/auth/enhanced_toast_test.gd index fb0a889..082ac87 100644 --- a/tests/auth/enhanced_toast_test.gd +++ b/tests/auth/enhanced_toast_test.gd @@ -6,7 +6,7 @@ class_name EnhancedToastTest # 测试新增的错误码处理 func test_new_error_codes(): - var auth_scene = preload("res://UI/Windows/AuthScene.gd").new() + var auth_scene = preload("res://scenes/ui/AuthScene.gd").new() # 测试验证码登录失败 var verification_login_error = {