Merge remote-tracking branch 'origin/develop' into merge-pleroma
This commit is contained in:
commit
035d9e71eb
4 changed files with 7 additions and 2 deletions
|
@ -142,6 +142,8 @@ docker:
|
||||||
cache: {}
|
cache: {}
|
||||||
services:
|
services:
|
||||||
- docker:20.10.17-dind
|
- docker:20.10.17-dind
|
||||||
|
tags:
|
||||||
|
- dind
|
||||||
# https://medium.com/devops-with-valentine/how-to-build-a-docker-image-and-push-it-to-the-gitlab-container-registry-from-a-gitlab-ci-pipeline-acac0d1f26df
|
# https://medium.com/devops-with-valentine/how-to-build-a-docker-image-and-push-it-to-the-gitlab-container-registry-from-a-gitlab-ci-pipeline-acac0d1f26df
|
||||||
script:
|
script:
|
||||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
|
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
|
||||||
|
|
|
@ -10,7 +10,7 @@ def up do
|
||||||
|> execute()
|
|> execute()
|
||||||
end
|
end
|
||||||
|
|
||||||
# 20210717000000_add_poll_to_notifications_enum.exs
|
# 20220319000000_add_status_to_notifications_enum.exs
|
||||||
def down do
|
def down do
|
||||||
alter table(:notifications) do
|
alter table(:notifications) do
|
||||||
modify(:type, :string)
|
modify(:type, :string)
|
||||||
|
@ -37,7 +37,8 @@ def down do
|
||||||
'reblog',
|
'reblog',
|
||||||
'favourite',
|
'favourite',
|
||||||
'pleroma:report',
|
'pleroma:report',
|
||||||
'poll'
|
'poll',
|
||||||
|
'status'
|
||||||
)
|
)
|
||||||
"""
|
"""
|
||||||
|> execute()
|
|> execute()
|
||||||
|
|
|
@ -600,6 +600,7 @@ test "see notifications after muting user with notifications and with_muted para
|
||||||
assert length(json_response_and_validate_schema(conn, 200)) == 1
|
assert length(json_response_and_validate_schema(conn, 200)) == 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@tag :erratic
|
||||||
test "see move notifications" do
|
test "see move notifications" do
|
||||||
old_user = insert(:user)
|
old_user = insert(:user)
|
||||||
new_user = insert(:user, also_known_as: [old_user.ap_id])
|
new_user = insert(:user, also_known_as: [old_user.ap_id])
|
||||||
|
|
|
@ -144,6 +144,7 @@ test "Follow notification" do
|
||||||
refute Repo.one(Notification)
|
refute Repo.one(Notification)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@tag :erratic
|
||||||
test "Move notification" do
|
test "Move notification" do
|
||||||
old_user = insert(:user)
|
old_user = insert(:user)
|
||||||
new_user = insert(:user, also_known_as: [old_user.ap_id])
|
new_user = insert(:user, also_known_as: [old_user.ap_id])
|
||||||
|
|
Loading…
Reference in a new issue