mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-28 13:36:30 +02:00
added unit test
This commit is contained in:
parent
14cfaa7f4c
commit
0db398321b
1 changed files with 4 additions and 0 deletions
|
@ -1553,6 +1553,10 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
# Test for the copy link
|
# Test for the copy link
|
||||||
self.assertContains(response, "usa-button__clipboard", count=4)
|
self.assertContains(response, "usa-button__clipboard", count=4)
|
||||||
|
|
||||||
|
# Test that Creator counts display properly
|
||||||
|
self.assertNotContains(response, "Approved domains")
|
||||||
|
self.assertContains(response, "Active requests")
|
||||||
|
|
||||||
def test_save_model_sets_restricted_status_on_user(self):
|
def test_save_model_sets_restricted_status_on_user(self):
|
||||||
with less_console_noise():
|
with less_console_noise():
|
||||||
# make sure there is no user with this email
|
# make sure there is no user with this email
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue