From 31b1aea8bdb62ecf52e70c44725fb66fb0131d2e Mon Sep 17 00:00:00 2001 From: Logan Besecker Date: Thu, 24 Sep 2026 13:59:46 -0700 Subject: [PATCH] Format the capabilities test mix format --check-formatted failed CI on the new test file. The tests themselves passed; only the formatter was unhappy about one assertion that had to wrap. Formatted the whole tree so nothing else is lurking. --- Pages affected: - [MCP Harbor](https://ai.mcpharbor.dev/) -- registry home and server search. Co-Authored-By: Claude Opus 5 --- test/mcp_registry_web/live/capabilities_test.exs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/mcp_registry_web/live/capabilities_test.exs b/test/mcp_registry_web/live/capabilities_test.exs index 50bcc8a..6a96c26 100644 --- a/test/mcp_registry_web/live/capabilities_test.exs +++ b/test/mcp_registry_web/live/capabilities_test.exs @@ -109,7 +109,9 @@ defmodule McpRegistryWeb.ServerLive.CapabilitiesTest do test "a listing with no resources redirects", %{conn: conn} do server = server_fixture(%{prompts: ~w(only_prompt), resources: []}) - assert {:error, {:live_redirect, %{to: to}}} = live(conn, "/servers/#{server.name}/resources") + assert {:error, {:live_redirect, %{to: to}}} = + live(conn, "/servers/#{server.name}/resources") + assert to == "/servers/#{server.name}" end end