Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-24 10:03:48 +0300
committerJoas Schilling <coding@schilljs.com>2018-07-24 10:03:48 +0300
commit2c2e2419ff11e3ec2705079afa9f42355426b608 (patch)
treec3a6cf3c3a11952807371191b4e63840054d4625 /tests/integration
parent7f2af611b17492d3bd18fb7441bd62bdabfba8ce (diff)
Update the call tests (remove pinging)
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/features/bootstrap/FeatureContext.php13
-rw-r--r--tests/integration/features/callapi/group.feature8
-rw-r--r--tests/integration/features/callapi/one-to-one.feature8
-rw-r--r--tests/integration/features/callapi/password.feature14
-rw-r--r--tests/integration/features/callapi/public.feature8
-rw-r--r--tests/integration/features/rename-room.feature3
6 files changed, 0 insertions, 54 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php
index 60c45c4e0..bd71931b2 100644
--- a/tests/integration/features/bootstrap/FeatureContext.php
+++ b/tests/integration/features/bootstrap/FeatureContext.php
@@ -347,19 +347,6 @@ class FeatureContext implements Context, SnippetAcceptingContext {
}
/**
- * @Then /^user "([^"]*)" pings call "([^"]*)" with (\d+)$/
- *
- * @param string $user
- * @param string $identifier
- * @param string $statusCode
- */
- public function userPingsCall($user, $identifier, $statusCode) {
- $this->setCurrentUser($user);
- $this->sendRequest('POST', '/apps/spreed/api/v1/call/' . self::$identifierToToken[$identifier] . '/ping');
- $this->assertStatusCode($this->response, $statusCode);
- }
-
- /**
* @Then /^user "([^"]*)" joins call "([^"]*)" with (\d+)$/
*
* @param string $user
diff --git a/tests/integration/features/callapi/group.feature b/tests/integration/features/callapi/group.feature
index 8375e44b9..18969c72d 100644
--- a/tests/integration/features/callapi/group.feature
+++ b/tests/integration/features/callapi/group.feature
@@ -31,8 +31,6 @@ Feature: callapi/group
And user "participant2" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "participant2" sees 2 peers in call "room" with 200
- Then user "participant1" pings call "room" with 200
- And user "participant2" pings call "room" with 200
Then user "participant1" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant2" sees 1 peers in call "room" with 200
@@ -65,9 +63,6 @@ Feature: callapi/group
And user "participant3" joins call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
- And user "participant3" pings call "room" with 404
- Then user "participant1" sees 1 peers in call "room" with 200
- And user "participant3" sees 0 peers in call "room" with 404
Then user "participant3" leaves call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
@@ -94,9 +89,6 @@ Feature: callapi/group
And user "guest" joins call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
- And user "guest" pings call "room" with 404
- Then user "participant1" sees 1 peers in call "room" with 200
- And user "guest" sees 0 peers in call "room" with 404
Then user "guest" leaves call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
diff --git a/tests/integration/features/callapi/one-to-one.feature b/tests/integration/features/callapi/one-to-one.feature
index a64a1b658..ddd44ac27 100644
--- a/tests/integration/features/callapi/one-to-one.feature
+++ b/tests/integration/features/callapi/one-to-one.feature
@@ -29,8 +29,6 @@ Feature: callapi/one-to-one
And user "participant2" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "participant2" sees 2 peers in call "room" with 200
- Then user "participant1" pings call "room" with 200
- And user "participant2" pings call "room" with 200
Then user "participant1" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant2" sees 1 peers in call "room" with 200
@@ -63,9 +61,6 @@ Feature: callapi/one-to-one
And user "participant3" joins call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
- And user "participant3" pings call "room" with 404
- Then user "participant1" sees 1 peers in call "room" with 200
- And user "participant3" sees 0 peers in call "room" with 404
Then user "participant3" leaves call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
@@ -97,9 +92,6 @@ Feature: callapi/one-to-one
And user "guest" joins call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
- And user "guest" pings call "room" with 404
- Then user "participant1" sees 1 peers in call "room" with 200
- And user "guest" sees 0 peers in call "room" with 404
Then user "guest" leaves call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
diff --git a/tests/integration/features/callapi/password.feature b/tests/integration/features/callapi/password.feature
index 2a448f954..67c776e6e 100644
--- a/tests/integration/features/callapi/password.feature
+++ b/tests/integration/features/callapi/password.feature
@@ -30,8 +30,6 @@ Feature: callapi/public
And user "participant2" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "participant2" sees 2 peers in call "room" with 200
- Then user "participant1" pings call "room" with 200
- And user "participant2" pings call "room" with 200
Then user "participant1" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant2" sees 1 peers in call "room" with 200
@@ -59,9 +57,6 @@ Feature: callapi/public
And user "participant3" joins call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
- And user "participant3" pings call "room" with 404
- Then user "participant1" sees 1 peers in call "room" with 200
- And user "participant3" sees 0 peers in call "room" with 404
Then user "participant3" leaves call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
@@ -96,9 +91,6 @@ Feature: callapi/public
And user "participant3" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "participant3" sees 2 peers in call "room" with 200
- And user "participant3" pings call "room" with 200
- Then user "participant1" sees 2 peers in call "room" with 200
- And user "participant3" sees 2 peers in call "room" with 200
Then user "participant3" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 1 peers in call "room" with 200
@@ -131,9 +123,6 @@ Feature: callapi/public
And user "guest" joins call "room" with 404
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
- And user "guest" pings call "room" with 404
- Then user "participant1" sees 1 peers in call "room" with 200
- And user "guest" sees 0 peers in call "room" with 404
Then user "guest" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
@@ -161,9 +150,6 @@ Feature: callapi/public
And user "guest" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "guest" sees 2 peers in call "room" with 200
- And user "guest" pings call "room" with 200
- Then user "participant1" sees 2 peers in call "room" with 200
- And user "guest" sees 2 peers in call "room" with 200
Then user "guest" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 1 peers in call "room" with 200
diff --git a/tests/integration/features/callapi/public.feature b/tests/integration/features/callapi/public.feature
index 35c5d911f..90652540f 100644
--- a/tests/integration/features/callapi/public.feature
+++ b/tests/integration/features/callapi/public.feature
@@ -29,8 +29,6 @@ Feature: callapi/public
And user "participant2" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "participant2" sees 2 peers in call "room" with 200
- Then user "participant1" pings call "room" with 200
- And user "participant2" pings call "room" with 200
Then user "participant1" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant2" sees 1 peers in call "room" with 200
@@ -63,9 +61,6 @@ Feature: callapi/public
And user "participant3" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "participant3" sees 2 peers in call "room" with 200
- And user "participant3" pings call "room" with 200
- Then user "participant1" sees 2 peers in call "room" with 200
- And user "participant3" sees 2 peers in call "room" with 200
Then user "participant3" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 1 peers in call "room" with 200
@@ -97,9 +92,6 @@ Feature: callapi/public
And user "guest" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "guest" sees 2 peers in call "room" with 200
- And user "guest" pings call "room" with 200
- Then user "participant1" sees 2 peers in call "room" with 200
- And user "guest" sees 2 peers in call "room" with 200
Then user "guest" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 1 peers in call "room" with 200
diff --git a/tests/integration/features/rename-room.feature b/tests/integration/features/rename-room.feature
index 575fba280..1c686f2ce 100644
--- a/tests/integration/features/rename-room.feature
+++ b/tests/integration/features/rename-room.feature
@@ -34,6 +34,3 @@ Feature: public
And user "participant1" is participant of room "room"
And user "participant2" is not participant of room "room"
When user "participant2" renames room "room" to "new name" with 404
-
-
- # Make private