Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F58046309
D212.id501.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D212.id501.diff
View Options
diff --git a/config/filesystems.php b/config/filesystems.php
--- a/config/filesystems.php
+++ b/config/filesystems.php
@@ -45,7 +45,9 @@
'local' => [
'driver' => 'local',
- 'root' => storage_path('app'),
+ 'root' => (env('APP_ENV') == 'testing') ?
+ base_path('tests/data') :
+ storage_path('app'),
],
'ftp' => [
diff --git a/tests/data/GitHubPayloadAnalyzer/default.json b/tests/data/GitHubPayloadAnalyzer/default.json
new file mode 100644
--- /dev/null
+++ b/tests/data/GitHubPayloadAnalyzer/default.json
@@ -0,0 +1,5 @@
+{
+ "administrativeGroup": "orgz",
+ "defaultGroup": "",
+ "repositoryMapping": []
+}
diff --git a/tests/data/PhabricatorPayloadAnalyzer/default.json b/tests/data/PhabricatorPayloadAnalyzer/default.json
new file mode 100644
--- /dev/null
+++ b/tests/data/PhabricatorPayloadAnalyzer/default.json
@@ -0,0 +1,5 @@
+{
+ "administrativeGroup": "orgz",
+ "defaultGroup": "",
+ "groupsMapping": []
+}
diff --git a/tests/data/credentials.json b/tests/data/credentials.json
new file mode 100644
--- /dev/null
+++ b/tests/data/credentials.json
@@ -0,0 +1,15 @@
+{
+ "services": [
+ {
+ "gate": "GitHub",
+ "door": "Acme",
+ "secret": "QxGTxBaPle77uaobz3Z1LhcgoiHYS8F3zVfzxGsOjvs9mWxl22g8yO9GZy5VHGm"
+ },
+ {
+ "gate": "Phabricator",
+ "door": "Acme",
+ "instance": "https://phabricator.acme.tld",
+ "secret": "api-rj35kzrovwhakeqcsyqo36wzqdzf"
+ }
+ ]
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 26, 19:59 (21 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4266614
Default Alt Text
D212.id501.diff (1 KB)
Attached To
Mode
D212: Storage for tests
Attached
Detach File
Event Timeline
Log In to Comment