aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-01-07 20:23:06 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-01-07 20:26:14 +0100
commit4d64481564beb36f1efe1d4deddfc1f5948bd963 (patch)
tree2002f281239ab0c997e7aa4bf3c068dbfff62bbf /tests
parent0a31fc176c01e8ef85a20dfc54ffc18035e0686a (diff)
downloadvolse-hubzilla-4d64481564beb36f1efe1d4deddfc1f5948bd963.tar.gz
volse-hubzilla-4d64481564beb36f1efe1d4deddfc1f5948bd963.tar.bz2
volse-hubzilla-4d64481564beb36f1efe1d4deddfc1f5948bd963.zip
Remove unused acceptance test stuff from source tree.
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/behat.yml27
-rw-r--r--tests/acceptance/features/bootstrap/AdminContext.php23
-rw-r--r--tests/acceptance/features/bootstrap/ApiContext.php23
-rw-r--r--tests/acceptance/features/bootstrap/FeatureContext.php23
-rw-r--r--tests/acceptance/features/login_local.feature18
5 files changed, 0 insertions, 114 deletions
diff --git a/tests/acceptance/behat.yml b/tests/acceptance/behat.yml
deleted file mode 100644
index 933571e5e..000000000
--- a/tests/acceptance/behat.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-default:
- suites:
- default:
- paths:
- - %paths.base%/features
- contexts:
- - Behat\MinkExtension\Context\MinkContext
- admin_features:
- filters: { role: admin }
- contexts:
- - AdminContext
- api_features:
- paths:
- - %paths.base%/features/api
- filters:
- tags: "@api"
- contexts:
- - ApiContext
- gherkin:
- filters:
- tags: ~@wip
- extensions:
- Behat\MinkExtension:
- base_url: 'http://localhost'
- sessions:
- default:
- goutte: ~
diff --git a/tests/acceptance/features/bootstrap/AdminContext.php b/tests/acceptance/features/bootstrap/AdminContext.php
deleted file mode 100644
index aa4dced67..000000000
--- a/tests/acceptance/features/bootstrap/AdminContext.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-use Behat\Behat\Context\Context;
-use Behat\Behat\Context\SnippetAcceptingContext;
-use Behat\Gherkin\Node\PyStringNode;
-use Behat\Gherkin\Node\TableNode;
-
-/**
- * Defines application features from the specific context.
- */
-class AdminContext implements Context, SnippetAcceptingContext
-{
- /**
- * Initializes context.
- *
- * Every scenario gets its own context instance.
- * You can also pass arbitrary arguments to the
- * context constructor through behat.yml.
- */
- public function __construct()
- {
- }
-}
diff --git a/tests/acceptance/features/bootstrap/ApiContext.php b/tests/acceptance/features/bootstrap/ApiContext.php
deleted file mode 100644
index 9b772b209..000000000
--- a/tests/acceptance/features/bootstrap/ApiContext.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-use Behat\Behat\Context\Context;
-use Behat\Behat\Context\SnippetAcceptingContext;
-use Behat\Gherkin\Node\PyStringNode;
-use Behat\Gherkin\Node\TableNode;
-
-/**
- * Defines application features from the specific context.
- */
-class ApiContext implements Context, SnippetAcceptingContext
-{
- /**
- * Initializes context.
- *
- * Every scenario gets its own context instance.
- * You can also pass arbitrary arguments to the
- * context constructor through behat.yml.
- */
- public function __construct()
- {
- }
-}
diff --git a/tests/acceptance/features/bootstrap/FeatureContext.php b/tests/acceptance/features/bootstrap/FeatureContext.php
deleted file mode 100644
index 2ec02da85..000000000
--- a/tests/acceptance/features/bootstrap/FeatureContext.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-use Behat\Behat\Context\Context;
-use Behat\Behat\Context\SnippetAcceptingContext;
-use Behat\Gherkin\Node\PyStringNode;
-use Behat\Gherkin\Node\TableNode;
-
-/**
- * Defines application features from the specific context.
- */
-class FeatureContext implements Context, SnippetAcceptingContext
-{
- /**
- * Initializes context.
- *
- * Every scenario gets its own context instance.
- * You can also pass arbitrary arguments to the
- * context constructor through behat.yml.
- */
- public function __construct()
- {
- }
-}
diff --git a/tests/acceptance/features/login_local.feature b/tests/acceptance/features/login_local.feature
deleted file mode 100644
index a7814b8f6..000000000
--- a/tests/acceptance/features/login_local.feature
+++ /dev/null
@@ -1,18 +0,0 @@
-Feature: Local login
- In order to login locally
- As a member
- I need to successfully authenticate
-
- Scenario: Provide wrong credentials
- Given I am on "/login"
- When I fill in "id_username" with "foo"
- And I fill in "id_password" with "bar"
- And I press "submit"
- Then I should be on "/login"
-
- Scenario: Provide correct credentials
- Given I am on "/login"
- When I fill in "id_username" with "behat"
- And I fill in "id_password" with "behat"
- And I press "submit"
- Then I should be on "/apps"