fix post test

This commit is contained in:
r888888888
2017-11-16 14:20:32 -08:00
parent 73f257ec63
commit 3ad332ad3d
3 changed files with 5 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ class PostTest < ActiveSupport::TestCase
CurrentUser.user = @user
CurrentUser.ip_addr = "127.0.0.1"
mock_saved_search_service!
mock_pool_archive_service!
ImageCropper.stubs(:enabled?).returns(false)
end