From 93b159a0ea0d3627a4678771e2a841f79a13a671 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Fri, 28 Apr 2023 16:09:24 -0700 Subject: [PATCH] testing: move newer files to idiomatic testdata dir --- testing/car_did_repro_test.go | 6 +++--- .../{test_files => testdata}/fakermaker.didDoc.json | 0 .../{test_files => testdata}/fakermaker.repo.car | Bin .../greenground.didDoc.json | 0 .../{test_files => testdata}/greenground.repo.car | Bin .../paul_staging.didDoc.json | 0 .../{test_files => testdata}/paul_staging.repo.car | Bin 7 files changed, 3 insertions(+), 3 deletions(-) rename testing/{test_files => testdata}/fakermaker.didDoc.json (100%) rename testing/{test_files => testdata}/fakermaker.repo.car (100%) rename testing/{test_files => testdata}/greenground.didDoc.json (100%) rename testing/{test_files => testdata}/greenground.repo.car (100%) rename testing/{test_files => testdata}/paul_staging.didDoc.json (100%) rename testing/{test_files => testdata}/paul_staging.repo.car (100%) diff --git a/testing/car_did_repro_test.go b/testing/car_did_repro_test.go index d56c6d6f..f2b0a0a5 100644 --- a/testing/car_did_repro_test.go +++ b/testing/car_did_repro_test.go @@ -199,9 +199,9 @@ func TestReproduceRepo(t *testing.T) { // http get localhost:2582/did:plc:dpg45vsnuir2vqqqadsn6afg > fakermaker.didDoc.json // http get localhost:2583/xrpc/com.atproto.sync.getRepo did==did:plc:dpg45vsnuir2vqqqadsn6afg > fakermaker.repo.car - deepReproduceRepo(t, "test_files/greenground.repo.car", "test_files/greenground.didDoc.json") - deepReproduceRepo(t, "test_files/fakermaker.repo.car", "test_files/fakermaker.didDoc.json") + deepReproduceRepo(t, "testdata/greenground.repo.car", "testdata/greenground.didDoc.json") + deepReproduceRepo(t, "testdata/fakermaker.repo.car", "testdata/fakermaker.didDoc.json") // XXX: currently failing - //deepReproduceRepo(t, "test_files/paul_staging.repo.car", "test_files/paul_staging.didDoc.json") + //deepReproduceRepo(t, "testdata/paul_staging.repo.car", "testdata/paul_staging.didDoc.json") } diff --git a/testing/test_files/fakermaker.didDoc.json b/testing/testdata/fakermaker.didDoc.json similarity index 100% rename from testing/test_files/fakermaker.didDoc.json rename to testing/testdata/fakermaker.didDoc.json diff --git a/testing/test_files/fakermaker.repo.car b/testing/testdata/fakermaker.repo.car similarity index 100% rename from testing/test_files/fakermaker.repo.car rename to testing/testdata/fakermaker.repo.car diff --git a/testing/test_files/greenground.didDoc.json b/testing/testdata/greenground.didDoc.json similarity index 100% rename from testing/test_files/greenground.didDoc.json rename to testing/testdata/greenground.didDoc.json diff --git a/testing/test_files/greenground.repo.car b/testing/testdata/greenground.repo.car similarity index 100% rename from testing/test_files/greenground.repo.car rename to testing/testdata/greenground.repo.car diff --git a/testing/test_files/paul_staging.didDoc.json b/testing/testdata/paul_staging.didDoc.json similarity index 100% rename from testing/test_files/paul_staging.didDoc.json rename to testing/testdata/paul_staging.didDoc.json diff --git a/testing/test_files/paul_staging.repo.car b/testing/testdata/paul_staging.repo.car similarity index 100% rename from testing/test_files/paul_staging.repo.car rename to testing/testdata/paul_staging.repo.car -- 2.51.2