refs: readonly tests don't need a sandboxed repo

This commit is contained in:
nulltoken 2012-07-11 23:47:58 +02:00
parent 2d012c0c72
commit 874303d468

View File

@ -16,12 +16,12 @@ static git_repository *g_repo;
void test_refs_read__initialize(void) void test_refs_read__initialize(void)
{ {
g_repo = cl_git_sandbox_init("testrepo"); cl_git_pass(git_repository_open(&g_repo, cl_fixture("testrepo.git")));
} }
void test_refs_read__cleanup(void) void test_refs_read__cleanup(void)
{ {
cl_git_sandbox_cleanup(); git_repository_free(g_repo);
} }
void test_refs_read__loose_tag(void) void test_refs_read__loose_tag(void)