Skip to content

Commit ba313a2

Browse files
committed
debug
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent 21d00fe commit ba313a2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

tests/integration/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
},
99
"autoload": {
1010
"files": [
11+
"../../../../build/integration/features/bootstrap/Auth.php",
1112
"../../../../build/integration/features/bootstrap/AppConfiguration.php",
1213
"../../../../build/integration/features/bootstrap/CommandLine.php",
1314
"../../../../build/integration/features/bootstrap/Provisioning.php",

tests/integration/features/bootstrap/BasicStructure.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
require __DIR__ . '/../../vendor/autoload.php';
4040

4141
trait BasicStructure {
42+
use Auth;
4243

4344
/** @var string */
4445
private $currentUser = '';
@@ -173,6 +174,7 @@ public function sendingToWith($verb, $url, $body) {
173174
} else {
174175
$options['auth'] = [$this->currentUser, $this->regularUser];
175176
}
177+
var_dump($options['auth']);
176178
$options['headers'] = [
177179
'OCS_APIREQUEST' => 'true'
178180
];

tests/integration/features/bootstrap/FeatureContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,4 @@
2525
use Behat\Behat\Context\Context;
2626

2727
class FeatureContext extends LDAPContext implements Context {
28-
use Provisioning;
29-
use CommandLine;
3028
}

0 commit comments

Comments
 (0)