Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"OC\\": "lib/private",
"OC\\Core\\": "core/",
"OC\\Settings\\": "settings/",
"OCP\\": "lib/public"
"OCP\\": "lib/public",
"Tests\\Acceptance\\": "tests/acceptance/features/bootstrap",
"Tests\\Acceptance\\Page\\": "tests/acceptance/features/lib"
},
"classmap": ["lib/private/legacy"],
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use GuzzleHttp\Exception\GuzzleException;
use PHPUnit\Framework\Assert;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/AppManagementContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/AuthContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use TestHelpers\HttpRequestHelper;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/CalDavContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use PHPUnit\Framework\Assert;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/CapabilitiesContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use PHPUnit\Framework\Assert;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/CardDavContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use PHPUnit\Framework\Assert;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/ChecksumContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use PHPUnit\Framework\Assert;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/CommentsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/CorsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use PHPUnit\Framework\Assert;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/EmailContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\PyStringNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/EncryptionContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use PHPUnit\Framework\Assert;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/FavoritesContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Hook\Scope\BeforeStepScope;
use GuzzleHttp\Exception\GuzzleException;
use Helmich\JsonAssert\JsonAssertions;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/FederationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use TestHelpers\SharingHelper;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/FilesVersionsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/IpContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use TestHelpers\IpHelper;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/LoggingContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/OCSContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\PyStringNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/OccContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/OccUsersGroupsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/Provisioning.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Gherkin\Node\TableNode;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\GuzzleException;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/PublicWebDavContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use PHPUnit\Framework\Assert;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/SearchContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/ShareesContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/Sharing.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Gherkin\Node\PyStringNode;
use Behat\Gherkin\Node\TableNode;
use Psr\Http\Message\ResponseInterface;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/TUSContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/TagsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;

Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/TrashbinContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/WebDav.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Gherkin\Node\PyStringNode;
use Behat\Gherkin\Node\TableNode;
use GuzzleHttp\Exception\BadResponseException;
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/features/bootstrap/WebDavLockingContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\MinkExtension\Context\RawMinkContext;
use Page\AdminAppsSettingsPage;
use Tests\Acceptance\Page\AdminAppsSettingsPage;

require_once 'bootstrap.php';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\MinkExtension\Context\RawMinkContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
use Behat\MinkExtension\Context\RawMinkContext;
use Page\AdminGeneralSettingsPage;
use PHPUnit\Framework\Assert;
use TestHelpers\AppConfigHelper;
use TestHelpers\SetupHelper;
use Tests\Acceptance\Page\AdminGeneralSettingsPage;

require_once 'bootstrap.php';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Mink\Element\NodeElement;
use Behat\MinkExtension\Context\RawMinkContext;
use Page\AdminSharingSettingsPage;
use PHPUnit\Framework\Assert;
use TestHelpers\SetupHelper;
use Tests\Acceptance\Page\AdminSharingSettingsPage;

require_once 'bootstrap.php';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@
*
*/

namespace Tests\Acceptance;

use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\MinkExtension\Context\RawMinkContext;
use Page\AdminStorageSettingsPage;
use PHPUnit\Framework\Assert;
use TestHelpers\SetupHelper;
use Tests\Acceptance\Page\AdminStorageSettingsPage;

require_once 'bootstrap.php';

Expand Down
Loading
Loading