Mercurial > hg > orthanc
diff UnitTestsSources/RestApiTests.cpp @ 1064:cd20e2568fc2
fix tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Jul 2014 16:13:36 +0200 |
parents | ce3106e5843f |
children | 6e7e5ed91c2d |
line wrap: on
line diff
--- a/UnitTestsSources/RestApiTests.cpp Fri Jul 25 16:06:26 2014 +0200 +++ b/UnitTestsSources/RestApiTests.cpp Fri Jul 25 16:13:36 2014 +0200 @@ -265,8 +265,8 @@ ASSERT_EQ(1u, d.size()); ASSERT_EQ("test4", d[0].asString()); - ASSERT_FALSE(GetDirectory(d, root, "/hello/world/test")); - ASSERT_FALSE(GetDirectory(d, root, "/hello/world/test2")); + ASSERT_TRUE(GetDirectory(d, root, "/hello/world/test")); + ASSERT_TRUE(GetDirectory(d, root, "/hello/world/test2")); ASSERT_FALSE(GetDirectory(d, root, "/hello2")); testValue = 0;