package com.xhpc.evcs;

import com.xhpc.evcs.domain.AuthSecretToken;
import com.xhpc.evcs.jpa.AuthSecretTokenRepository;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.annotation.Rollback;

import javax.annotation.Resource;

@SpringBootTest
public class AuthSecretTokenSecretTest {

    @Resource
    private AuthSecretTokenRepository authSecretTokenRepository;

    @Test
    @Rollback(false)
    public void save() {


        AuthSecretToken authSecretToken = new AuthSecretToken();
        authSecretTokenRepository.save(authSecretToken);
    }

}
