diff --git a/config/src/test/scala/com/typesafe/config/impl/EquivalentsTest.scala b/config/src/test/scala/com/typesafe/config/impl/EquivalentsTest.scala
index 3312bb72..1c58dbdf 100644
--- a/config/src/test/scala/com/typesafe/config/impl/EquivalentsTest.scala
+++ b/config/src/test/scala/com/typesafe/config/impl/EquivalentsTest.scala
@@ -17,7 +17,7 @@ import org.junit.runners.AllTests
 class EquivalentsTest extends TestUtils {
 
     private def equivDirs() = {
-        val resourceDir = new File("src/test/resources")
+        val resourceDir = new File("config/src/test/resources")
         if (!resourceDir.exists())
             throw new RuntimeException("This test can only be run from the project's root directory")
         val rawEquivs = resourceDir.listFiles()
diff --git a/config/src/test/scala/com/typesafe/config/impl/PublicApiTest.scala b/config/src/test/scala/com/typesafe/config/impl/PublicApiTest.scala
index 9a5ecdf0..9a38a997 100644
--- a/config/src/test/scala/com/typesafe/config/impl/PublicApiTest.scala
+++ b/config/src/test/scala/com/typesafe/config/impl/PublicApiTest.scala
@@ -221,7 +221,7 @@ class PublicApiTest extends TestUtils {
     }
 
     private def resourceFile(filename: String) = {
-        val resourceDir = new File("src/test/resources")
+        val resourceDir = new File("config/src/test/resources")
         if (!resourceDir.exists())
             throw new RuntimeException("This test can only be run from the project's root directory")
         new File(resourceDir, filename)