package org.apereo.cas.adaptors.yubikey.dao;

import org.apereo.cas.util.junit.EnabledIfContinuousIntegration;
import org.apereo.cas.util.junit.EnabledIfPortOpen;

import org.junit.jupiter.api.Tag;
import org.springframework.test.context.TestPropertySource;

/**
 * This is {@link PostgresJpaYubiKeyAccountRegistryTests}.
 *
 * @author Misagh Moayyed
 * @since 6.2.0
 */
@EnabledIfPortOpen(port = 5432)
@EnabledIfContinuousIntegration
@Tag("Postgres")
@TestPropertySource(properties = {
    "cas.jdbc.showSql=true",
    "cas.authn.mfa.yubikey.jpa.user=postgres",
    "cas.authn.mfa.yubikey.jpa.password=password",
    "cas.authn.mfa.yubikey.jpa.driverClass=org.postgresql.Driver",
    "cas.authn.mfa.yubikey.jpa.url=jdbc:postgresql://localhost:5432/yubikey",
    "cas.authn.mfa.yubikey.jpa.dialect=org.hibernate.dialect.PostgreSQL95Dialect",
})
public class PostgresJpaYubiKeyAccountRegistryTests extends JpaYubiKeyAccountRegistryTests {
}

package org.apereo.cas.adaptors.yubikey.dao;

import org.apereo.cas.util.junit.EnabledIfContinuousIntegration;
import org.apereo.cas.util.junit.EnabledIfPortOpen;

import org.junit.jupiter.api.Tag;
import org.springframework.test.context.TestPropertySource;

/**
 * This is {@link PostgresJpaYubiKeyAccountRegistryTests}.
 *
 * @author Misagh Moayyed
 * @since 6.2.0
 */
@EnabledIfPortOpen(port = 5432)
@EnabledIfContinuousIntegration
@Tag("Postgres")
@TestPropertySource(properties = {
    "cas.jdbc.showSql=true",
    "cas.authn.mfa.yubikey.jpa.user=postgres",
    "cas.authn.mfa.yubikey.jpa.password=password",
    "cas.authn.mfa.yubikey.jpa.driverClass=org.postgresql.Driver",
    "cas.authn.mfa.yubikey.jpa.url=jdbc:postgresql://localhost:5432/yubikey",
    "cas.authn.mfa.yubikey.jpa.dialect=org.hibernate.dialect.PostgreSQL95Dialect"
})
public class PostgresJpaYubiKeyAccountRegistryTests extends JpaYubiKeyAccountRegistryTests {
}

fix checkstyle