Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4026013
D193.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D193.diff
View Options
diff --git a/tests/GitHubPayloadAnalyzerTest.php b/tests/Analyzers/GitHubPayloadAnalyzerTest.php
rename from tests/GitHubPayloadAnalyzerTest.php
rename to tests/Analyzers/GitHubPayloadAnalyzerTest.php
--- a/tests/GitHubPayloadAnalyzerTest.php
+++ b/tests/Analyzers/GitHubPayloadAnalyzerTest.php
@@ -1,11 +1,12 @@
<?php
-namespace Nasqueron\Notifications\Tests;
+namespace Nasqueron\Notifications\Tests\Analyzers;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Nasqueron\Notifications\Analyzers\GitHubPayloadAnalyzer;
use Nasqueron\Notifications\Analyzers\GitHubPayloadAnalyzerConfiguration;
+use Nasqueron\Notifications\Tests\TestCase;
class GitHubPayloadAnalyzerConfigurationTest extends TestCase {
@@ -20,7 +21,7 @@
* Prepares the test
*/
public function setUp () {
- $filename = __DIR__ . '/data/GitHubPayloadAnalyzer-Nasqueron.json';
+ $filename = __DIR__ . '/../data/GitHubPayloadAnalyzer-Nasqueron.json';
$mapper = new \JsonMapper();
$this->configuration = $mapper->map(
json_decode(file_get_contents($filename)),
diff --git a/tests/RepositoryGroupMappingTest.php b/tests/Analyzers/RepositoryGroupMappingTest.php
rename from tests/RepositoryGroupMappingTest.php
rename to tests/Analyzers/RepositoryGroupMappingTest.php
--- a/tests/RepositoryGroupMappingTest.php
+++ b/tests/Analyzers/RepositoryGroupMappingTest.php
@@ -1,10 +1,11 @@
<?php
-namespace Nasqueron\Notifications\Tests;
+namespace Nasqueron\Notifications\Tests\Analyzers;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Nasqueron\Notifications\Analyzers\RepositoryGroupMapping;
+use Nasqueron\Notifications\Tests\TestCase;
class RepositoryGroupMappingTest extends TestCase {
diff --git a/tests/GitHubGateControllerTest.php b/tests/Http/Controllers/GitHubGateControllerTest.php
rename from tests/GitHubGateControllerTest.php
rename to tests/Http/Controllers/GitHubGateControllerTest.php
--- a/tests/GitHubGateControllerTest.php
+++ b/tests/Http/Controllers/GitHubGateControllerTest.php
@@ -1,9 +1,11 @@
<?php
-namespace Nasqueron\Notifications\Tests;
+namespace Nasqueron\Notifications\Tests\Http\Controllers;
use Illuminate\Foundation\Testing\WithoutMiddleware;
+use Nasqueron\Notifications\Tests\TestCase;
+
class GitHubGateControllerTest extends TestCase {
/**
* GitHub gate works.
diff --git a/tests/PlaceholderTest.php b/tests/Http/PlaceholderTest.php
rename from tests/PlaceholderTest.php
rename to tests/Http/PlaceholderTest.php
diff --git a/tests/StatusTest.php b/tests/Http/StatusTest.php
rename from tests/StatusTest.php
rename to tests/Http/StatusTest.php
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 21, 12:06 (21 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2365074
Default Alt Text
D193.diff (2 KB)
Attached To
Mode
D193: Organize tests into directories
Attached
Detach File
Event Timeline
Log In to Comment