diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj
index 4a8282484..5bc847680 100644
--- a/BTCPayServer/BTCPayServer.csproj
+++ b/BTCPayServer/BTCPayServer.csproj
@@ -137,9 +137,6 @@
$(IncludeRazorContentInPack)
-
- $(IncludeRazorContentInPack)
-
$(IncludeRazorContentInPack)
diff --git a/BTCPayServer/Controllers/PublicController.cs b/BTCPayServer/Controllers/PublicController.cs
index 0c44224dd..f9802ba9d 100644
--- a/BTCPayServer/Controllers/PublicController.cs
+++ b/BTCPayServer/Controllers/PublicController.cs
@@ -57,12 +57,5 @@ namespace BTCPayServer.Controllers
}, store, HttpContext.Request.GetAbsoluteRoot());
return Redirect(invoice.Data.Url);
}
-
- [HttpGet]
- [Route("/paybuttontest")]
- public IActionResult PayButtonTest()
- {
- return View();
- }
}
}
diff --git a/BTCPayServer/Views/Public/PayButtonTest.cshtml b/BTCPayServer/Views/Public/PayButtonTest.cshtml
deleted file mode 100644
index 22993ce11..000000000
--- a/BTCPayServer/Views/Public/PayButtonTest.cshtml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-