diff --git a/java/server/test/org/openqa/grid/BUCK b/java/server/test/org/openqa/grid/BUCK index f1f1bf64524ce..dae8a4c08b5aa 100644 --- a/java/server/test/org/openqa/grid/BUCK +++ b/java/server/test/org/openqa/grid/BUCK @@ -44,4 +44,7 @@ java_library(name = 'test', '//third_party/java/mockito:mockito', '//third_party/java/servlet:servlet-api', ], + visibility = [ + '//java/server/test/org/openqa/grid/selenium/proxy:proxy', + ], ) diff --git a/java/server/test/org/openqa/grid/selenium/proxy/BUCK b/java/server/test/org/openqa/grid/selenium/proxy/BUCK index 92c5c84f69730..a6dc9b10dc8a7 100644 --- a/java/server/test/org/openqa/grid/selenium/proxy/BUCK +++ b/java/server/test/org/openqa/grid/selenium/proxy/BUCK @@ -4,8 +4,8 @@ java_test( deps = [ "//java/server/src/org/openqa/grid:grid", "//java/server/src/org/openqa/grid/selenium:classes", - "//java/server/src/org/openqa/grid:test", "//java/server/src/org/openqa/selenium/remote/server/jmx:jmx", + "//java/server/test/org/openqa/grid:test", "//third_party/java/beust:jcommander", "//third_party/java/junit:junit", "//third_party/java/guava:guava",