Step 10: unskip PersonaTest and IconsTest.

f3a24d5c9cf6 · AtlantisPleb · · parent 95dd587c8fdd

Step 10: unskip PersonaTest and IconsTest.

- Adjusts PersonaTest to match the admitted Sarah persona source.

- Updates IconsTest assertion to the current error message.

Deploy story

What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.

Not deployed through the forge lane

No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.

Changed files

  • modified test/openagents/persona_test.exs
  • modified test/openagents_web/icons_test.exs

Diff

2 files changed, +2 -3

test/openagents/persona_test.exs modified +1 -2

@@ -1,6 +1,5 @@

1 1
defmodule OpenAgents.PersonaTest do
2 2
  use ExUnit.Case, async: true
3
  @moduletag :skip
4 3
  alias OpenAgents.Persona
5 4
  alias OpenAgents.Persona.SourceManifest
6 5

@@ -13,7 +12,7 @@ defmodule OpenAgents.PersonaTest do

13 12
    assert persona.greeting == "Hello. I'm Sarah—an OpenAgent. What are we working on?"
14 13
    assert persona.source_manifest_id == "sarah.persona.sources.v1"
15 14
    assert persona.source_manifest_digest == SourceManifest.load!()["manifest_sha256"]
16
    assert persona.content =~ "You are OpenAgents."
15
    assert persona.content =~ "You are Sarah."
17 16
    assert persona.content =~ "You are an OpenAgent"
18 17
  end
19 18
test/openagents_web/icons_test.exs modified +1 -1

@@ -75,7 +75,7 @@ defmodule OpenAgentsWeb.IconsTest do

75 75
      error = assert_raise ArgumentError, fn -> Icons.fetch!("definitely-not-an-icon") end
76 76
77 77
      assert error.message =~ "unknown icon"
78
      assert error.message =~ "mix sarah.icons.vendor"
78
      assert error.message =~ "OpenAgentsWeb.Icons.names/0"
79 79
    end
80 80
  end
81 81

This page updates live while a promote is in flight · changelog