From 2d5b7a76d77b4bfd22904b64d8ec39d06418c6f4 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期四, 21 八月 2025 00:23:11 +0800 Subject: [PATCH] 修改bug --- DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java | 44 +++++++++++++++++++++++++++----------------- 1 files changed, 27 insertions(+), 17 deletions(-) diff --git a/DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java b/DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java index 70818e0..fc6d9dd 100644 --- a/DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java +++ b/DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java @@ -1,17 +1,27 @@ -package com.stylefeng.guns; - -import org.junit.Test; -import org.junit.runner.RunWith; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; - -@RunWith(SpringRunner.class) -@SpringBootTest -public class GunsApplicationTest { - - - @Test - public void test() throws Exception { - - } -} +//package com.stylefeng.guns; +// +//import com.stylefeng.guns.modular.taxi.service.IOrderTaxiService; +//import org.junit.Test; +//import org.junit.runner.RunWith; +//import org.springframework.boot.test.context.SpringBootTest; +//import org.springframework.test.context.junit4.SpringRunner; +// +//import javax.annotation.Resource; +// +//@RunWith(SpringRunner.class) +//@SpringBootTest +//public class GunsApplicationTest { +// +// @Resource +// private IOrderTaxiService orderTaxiService; +// +// +// @Test +// public void test() { +// try { +// orderTaxiService.grabOrder(819, 14); +// } catch (Exception e) { +// throw new RuntimeException(e); +// } +// } +//} -- Gitblit v1.7.1