package it.com.atlassian.bitbucket.scm.cache;

import com.atlassian.bitbucket.scm.cache.ScmRequestProtocol;
import com.atlassian.stash.hosting.SshKeyPair;
import com.atlassian.stash.hosting.SshScmTransport;
import org.junit.BeforeClass;

public class ScmCacheSshTest extends ScmCacheTestBase {

    @BeforeClass
    public static void setupOnce() throws Throwable {
        transport = new SshScmTransport();
        transport.init();

        testContext.accountKey(TEST_USER, SshKeyPair.get().getPublicKey());
    }

    @Override
    protected ScmRequestProtocol getProtocol() {
        return ScmRequestProtocol.SSH;
    }
}
