From d5b557d443ad1efe956cd6fe10b5a38bb7cd0180 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Fri, 29 Sep 2023 14:46:13 -0600 Subject: [PATCH] Fix test --- src/registrar/tests/test_admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index c12a2d2a6..def475536 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -164,7 +164,8 @@ class TestDomainAdmin(MockEppLib): request, messages.ERROR, "Error deleting this Domain: " - "Can't switch from state 'ready' to 'deleted'", + "Can't switch from state 'ready' to 'deleted'" + ", must be either 'dns_needed' or 'on_hold'", extra_tags="", fail_silently=False, )