Page MenuHomeDevCentral

D193.id457.diff
No OneTemporary

D193.id457.diff

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

Mime Type
text/plain
Expires
Tue, Oct 8, 18:22 (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2182123
Default Alt Text
D193.id457.diff (2 KB)

Event Timeline