tests: fix broken Newgrounds test.

Broken again by the source post being deleted.
This commit is contained in:
evazion
2021-01-04 23:54:18 -06:00
parent 62d183ddf4
commit 873d719481
2 changed files with 18 additions and 31 deletions

View File

@@ -36,7 +36,7 @@ class PostRegenerationsControllerTest < ActionDispatch::IntegrationTest
assert_equal(@mod, ModAction.last.creator)
assert_equal("post_regenerate_iqdb", ModAction.last.category)
assert_equal("@#{@mod.name} regenerated IQDB for post ##{@post.id}", ModAction.last.description)
assert_equal("<@#{@mod.name}> regenerated IQDB for post ##{@post.id}", ModAction.last.description)
end
end
@@ -58,7 +58,7 @@ class PostRegenerationsControllerTest < ActionDispatch::IntegrationTest
assert_equal(@mod, ModAction.last.creator)
assert_equal("post_regenerate", ModAction.last.category)
assert_equal("@#{@mod.name} regenerated image samples for post ##{@post.id}", ModAction.last.description)
assert_equal("<@#{@mod.name}> regenerated image samples for post ##{@post.id}", ModAction.last.description)
end
end
end