diff --git a/tests/test_bucket.c b/tests/test_bucket.c
index 68249d3435546dae78248ad7303e44b367273ded..13fd684cbd17d62b4af470aec5738252d4381e98 100644
--- a/tests/test_bucket.c
+++ b/tests/test_bucket.c
@@ -170,11 +170,6 @@ AST_TEST_DEFINE(bucket_alloc)
 		return AST_TEST_FAIL;
 	}
 
-	if ((bucket = ast_bucket_alloc("test://"))) {
-		ast_test_status_update(test, "Allocated a bucket with no name\n");
-		return AST_TEST_FAIL;
-	}
-
 	if (!(bucket = ast_bucket_alloc("test:///tmp/bob"))) {
 		ast_test_status_update(test, "Failed to allocate bucket\n");
 		return AST_TEST_FAIL;
@@ -377,11 +372,6 @@ AST_TEST_DEFINE(bucket_file_alloc)
 		return AST_TEST_FAIL;
 	}
 
-	if ((file = ast_bucket_file_alloc("test://"))) {
-		ast_test_status_update(test, "Allocated a file with no name\n");
-		return AST_TEST_FAIL;
-	}
-
 	if (!(file = ast_bucket_file_alloc("test:///tmp/bob"))) {
 		ast_test_status_update(test, "Failed to allocate file\n");
 		return AST_TEST_FAIL;