projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature/store-statuses-data-inside-flag' into 'develop'
[akkoma]
/
test
/
support
/
factory.ex
diff --git
a/test/support/factory.ex
b/test/support/factory.ex
index 0fdb1e9521877ff5e1fb8be599a49a76738b6004..e3f797f64c16b4abb0dcc8f05ada8cd8a811479f 100644
(file)
--- a/
test/support/factory.ex
+++ b/
test/support/factory.ex
@@
-39,8
+39,7
@@
defmodule Pleroma.Factory do
user
| ap_id: User.ap_id(user),
follower_address: User.ap_followers(user),
user
| ap_id: User.ap_id(user),
follower_address: User.ap_followers(user),
- following_address: User.ap_following(user),
- following: [User.ap_id(user)]
+ following_address: User.ap_following(user)
}
end
}
end
@@
-377,4
+376,13
@@
defmodule Pleroma.Factory do
)
}
end
)
}
end
+
+ def marker_factory do
+ %Pleroma.Marker{
+ user: build(:user),
+ timeline: "notifications",
+ lock_version: 0,
+ last_read_id: "1"
+ }
+ end
end
end