package com.tourism.test;

import com.tourism.webadmin.WebAdminApplication;
import com.tourism.webadmin.back.controller.TourFansController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.mock.web.MockMultipartHttpServletRequest;
import org.springframework.test.web.servlet.request.MockHttpServletRequestBuilder;

/**
 * Test 类。
 * <p>
 * 描述：
 *
 * @author huangwenwen
 * @date 2025/1/8
 */

@SpringBootTest(classes = WebAdminApplication.class)
public class Test {
    @Autowired
    private TourFansController tourFansController;

    @org.junit.Test
    public void test(){
        MockMultipartHttpServletRequest mockMultipartHttpServletRequest = new MockMultipartHttpServletRequest();
        mockMultipartHttpServletRequest.addHeader("Authorization","eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImlzcyI6ImFwcCIs");
//        tourFansController.add();

    }

}
