Page MenuHomeDevCentral

D138.diff
No OneTemporary

D138.diff

diff --git a/composer.json b/composer.json
--- a/composer.json
+++ b/composer.json
@@ -28,7 +28,8 @@
"database"
],
"psr-4": {
- "Nasqueron\\Notifications\\": "app/"
+ "Nasqueron\\Notifications\\": "app/",
+ "Nasqueron\\Notifications\\Tests\\": "tests/"
}
},
"autoload-dev": {
diff --git a/tests/GitHubGateControllerTest.php b/tests/GitHubGateControllerTest.php
--- a/tests/GitHubGateControllerTest.php
+++ b/tests/GitHubGateControllerTest.php
@@ -1,5 +1,7 @@
<?php
+namespace Nasqueron\Notifications\Tests;
+
use Illuminate\Foundation\Testing\WithoutMiddleware;
class GitHubGateControllerTest extends TestCase {
diff --git a/tests/GitHubPayloadAnalyzerTest.php b/tests/GitHubPayloadAnalyzerTest.php
--- a/tests/GitHubPayloadAnalyzerTest.php
+++ b/tests/GitHubPayloadAnalyzerTest.php
@@ -1,5 +1,7 @@
<?php
+namespace Nasqueron\Notifications\Tests;
+
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Nasqueron\Notifications\Analyzers\GitHubPayloadAnalyzer;
diff --git a/tests/PlaceholderTest.php b/tests/PlaceholderTest.php
--- a/tests/PlaceholderTest.php
+++ b/tests/PlaceholderTest.php
@@ -1,5 +1,7 @@
<?php
+namespace Nasqueron\Notifications\Tests;
+
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
diff --git a/tests/RepositoryGroupMappingTest.php b/tests/RepositoryGroupMappingTest.php
--- a/tests/RepositoryGroupMappingTest.php
+++ b/tests/RepositoryGroupMappingTest.php
@@ -1,5 +1,7 @@
<?php
+namespace Nasqueron\Notifications\Tests;
+
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Nasqueron\Notifications\Analyzers\RepositoryGroupMapping;
diff --git a/tests/StatusTest.php b/tests/StatusTest.php
--- a/tests/StatusTest.php
+++ b/tests/StatusTest.php
@@ -1,5 +1,7 @@
<?php
+namespace Nasqueron\Notifications\Tests;
+
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
diff --git a/tests/TestCase.php b/tests/TestCase.php
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -1,6 +1,10 @@
<?php
-class TestCase extends Illuminate\Foundation\Testing\TestCase
+namespace Nasqueron\Notifications\Tests;
+
+use Illuminate\Contracts\Console\Kernel;
+
+class TestCase extends \Illuminate\Foundation\Testing\TestCase
{
/**
* The base URL to use while testing the application.
@@ -18,7 +22,7 @@
{
$app = require __DIR__.'/../bootstrap/app.php';
- $app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
+ $app->make(Kernel::class)->bootstrap();
return $app;
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 05:33 (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264028
Default Alt Text
D138.diff (2 KB)

Event Timeline