diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-07-28 13:21:33 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-07-28 13:21:33 +0100 |
commit | 801b1a160558ed8b862e683c7aaf5092b0c1adb2 (patch) | |
tree | cdfd96d7f5164195e722f2c0d6df70c1613fa357 /unittests/service.cpp | |
parent | Replace hard-coded test values with properties (diff) | |
download | netfs-gitfs-801b1a160558ed8b862e683c7aaf5092b0c1adb2.tar.bz2 netfs-gitfs-801b1a160558ed8b862e683c7aaf5092b0c1adb2.tar.xz netfs-gitfs-801b1a160558ed8b862e683c7aaf5092b0c1adb2.zip |
Support working tree based on a commit, tag or branch
Diffstat (limited to 'unittests/service.cpp')
-rw-r--r-- | unittests/service.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/service.cpp b/unittests/service.cpp index aaa9d85..207aa15 100644 --- a/unittests/service.cpp +++ b/unittests/service.cpp @@ -31,7 +31,7 @@ BOOST_DATA_TEST_CASE(badauth, IceTray::DryIce s({ "--GitFS.testrepo.gitdir=%?"_fmt(rootDir.string()), "--GitFS.testrepo.authkey=testauth", - "--GitFS.testrepo.commit=7a0ccb40084c3ab31d9856e7f689c0514c28c930", + "--GitFS.testrepo.commitish=7a0ccb40084c3ab31d9856e7f689c0514c28c930", }); Client c; BOOST_CHECK_NO_THROW(c.s->ice_ping()); @@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE(missing_repo) "--GitFS.missing.gitdir=/not/here", "--GitFS.missing.commit=7a0ccb40084c3ab31d9856e7f689c0514c28c930", "--GitFS.testrepo.gitdir=%?"_fmt(rootDir.string()), - "--GitFS.testrepo.commit=7a0ccb40084c3ab31d9856e7f689c0514c28c931", + "--GitFS.testrepo.commitish=7a0ccb40084c3ab31d9856e7f689c0514c28c931", }); Client c; BOOST_CHECK_NO_THROW(c.s->ice_ping()); |