package com.izouma.zhirongip.web;

import com.izouma.zhirongip.ApplicationTests;
import com.izouma.zhirongip.enums.NavType;
import com.izouma.zhirongip.repo.NavigationRepo;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import static org.junit.jupiter.api.Assertions.*;

class NavigationControllerTest extends ApplicationTests {

    @Autowired
    private NavigationController navigationController;

    @Autowired
    private NavigationRepo navigationRepo;

    @Test
    void type() {
//        System.out.println(navigationController.type(NavType.TOTAL));
        System.out.println(navigationRepo.findAllByType(NavType.TOTAL));
    }

    @Test
    void test() {


    }
}