[#878] Refactored assumptions on embedded object presence in tests. Adjusted note...
authorIvan Tashkinov <ivant.business@gmail.com>
Mon, 8 Jul 2019 16:53:02 +0000 (19:53 +0300)
committerIvan Tashkinov <ivant.business@gmail.com>
Mon, 8 Jul 2019 16:53:02 +0000 (19:53 +0300)
commitdaff85a985c165c73fda3fcd20a3f46c76d36e6d
tree22edb1ef324ee2b89f276fb038b415d2c30c7b05
parent3589b30ddc9d0c23ca6f00264cff05e53be1b270
[#878] Refactored assumptions on embedded object presence in tests. Adjusted note factory to not embed object into activity.
17 files changed:
lib/pleroma/object.ex
test/activity_test.exs
test/bbs/handler_test.exs
test/support/factory.ex
test/web/activity_pub/activity_pub_controller_test.exs
test/web/activity_pub/activity_pub_test.exs
test/web/activity_pub/transmogrifier_test.exs
test/web/activity_pub/views/object_view_test.exs
test/web/common_api/common_api_test.exs
test/web/mastodon_api/status_view_test.exs
test/web/ostatus/activity_representer_test.exs
test/web/ostatus/incoming_documents/delete_handling_test.exs
test/web/ostatus/ostatus_controller_test.exs
test/web/ostatus/ostatus_test.exs
test/web/twitter_api/twitter_api_controller_test.exs
test/web/twitter_api/twitter_api_test.exs
test/web/twitter_api/views/activity_view_test.exs