From 5aeb2845dbcd983061a6a9e841633275be22fc89 Mon Sep 17 00:00:00 2001 From: Armin Date: Tue, 12 Mar 2019 19:14:13 +0100 Subject: [PATCH] Change test port in some feature files --- test/features/activity-delete.feature | 8 ++++---- test/features/activity-like.feature | 16 ++++++++-------- test/features/object-article.feature | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/test/features/activity-delete.feature b/test/features/activity-delete.feature index ad33f1e4c..9bdcbe9ab 100644 --- a/test/features/activity-delete.feature +++ b/test/features/activity-delete.feature @@ -2,7 +2,7 @@ Feature: Delete an object I want to delete objects Background: - Given our own server runs at "http://localhost:4100" + Given our own server runs at "http://localhost:4123" And we have the following users in our database: | Slug | | bernd-das-brot| @@ -29,7 +29,7 @@ Feature: Delete an object """ { "@context": "https://www.w3.org/ns/activitystreams", - "id": "https://localhost:4100/users/karl-heinz/status/a4DJ2afdg323v32641vna42lkj685kasd2", + "id": "https://localhost:4123/users/karl-heinz/status/a4DJ2afdg323v32641vna42lkj685kasd2", "type": "Delete", "object": { "id": "https://aronda.org/users/bernd-das-brot/status/kljsdfg9843jknsdf", @@ -37,7 +37,7 @@ Feature: Delete an object "published": "2019-02-07T19:37:55.002Z", "attributedTo": "https://aronda.org/users/bernd-das-brot", "content": "Hi Max, how are you?", - "to": "https://localhost:4100/activitypub/users/moritz" + "to": "https://localhost:4123/activitypub/users/moritz" } } """ @@ -50,6 +50,6 @@ Feature: Delete an object "published": "2019-02-07T19:37:55.002Z", "attributedTo": "https://aronda.org/users/bernd-das-brot", "content": "Hi Max, how are you?", - "to": "https://localhost:4100/activitypub/users/moritz" + "to": "https://localhost:4123/activitypub/users/moritz" } """ diff --git a/test/features/activity-like.feature b/test/features/activity-like.feature index d71a0396f..35d32c842 100644 --- a/test/features/activity-like.feature +++ b/test/features/activity-like.feature @@ -4,7 +4,7 @@ Feature: Like an object like an article or note I want to undo the follow. Background: - Given our own server runs at "http://localhost:4100" + Given our own server runs at "http://localhost:4123" And we have the following users in our database: | Slug | | karl-heinz | @@ -13,14 +13,14 @@ Feature: Like an object like an article or note """ { "@context": "https://www.w3.org/ns/activitystreams", - "id": "https://localhost:4100/activitypub/users/karl-heinz/status/faslkasa7dasfzkjn2398hsfd", + "id": "https://localhost:4123/activitypub/users/karl-heinz/status/faslkasa7dasfzkjn2398hsfd", "type": "Create", - "actor": "https://localhost:4100/activitypub/users/karl-heinz", + "actor": "https://localhost:4123/activitypub/users/karl-heinz", "object": { - "id": "https://localhost:4100/activitypub/users/karl-heinz/status/dkasfljsdfaafg9843jknsdf", + "id": "https://localhost:4123/activitypub/users/karl-heinz/status/dkasfljsdfaafg9843jknsdf", "type": "Article", "published": "2019-02-07T19:37:55.002Z", - "attributedTo": "https://localhost:4100/activitypub/users/karl-heinz", + "attributedTo": "https://localhost:4123/activitypub/users/karl-heinz", "content": "Hi Max, how are you?", "to": "https://www.w3.org/ns/activitystreams#Public" } @@ -32,10 +32,10 @@ Feature: Like an object like an article or note """ { "@context": "https://www.w3.org/ns/activitystreams", - "id": "https://localhost:4100/activitypub/users/peter-lustiger/status/83J23549sda1k72fsa4567na42312455kad83", + "id": "https://localhost:4123/activitypub/users/peter-lustiger/status/83J23549sda1k72fsa4567na42312455kad83", "type": "Like", - "actor": "http://localhost:4100/activitypub/users/peter-lustiger", - "object": "http://localhost:4100/activitypub/users/karl-heinz/status/dkasfljsdfaafg9843jknsdf" + "actor": "http://localhost:4123/activitypub/users/peter-lustiger", + "object": "http://localhost:4123/activitypub/users/karl-heinz/status/dkasfljsdfaafg9843jknsdf" } """ Then I expect the status code to be 200 diff --git a/test/features/object-article.feature b/test/features/object-article.feature index 0a8af2606..5358f2925 100644 --- a/test/features/object-article.feature +++ b/test/features/object-article.feature @@ -2,7 +2,7 @@ Feature: Send and receive Articles I want to send and receive article's via ActivityPub Background: - Given our own server runs at "http://localhost:4100" + Given our own server runs at "http://localhost:4123" And we have the following users in our database: | Slug | | marvin | @@ -22,7 +22,7 @@ Feature: Send and receive Articles "published": "2019-02-07T19:37:55.002Z", "attributedTo": "https://aronda.org/users/marvin", "content": "Hi Max, how are you?", - "to": "https://localhost:4100/activitypub/users/max" + "to": "https://localhost:4123/activitypub/users/max" } } """