Skip to content

Commit

Permalink
add support for Laravel 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 23, 2017
1 parent 6940dac commit d00936e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All Notable changes to `laravel-feed` will be documented in this file

## 1.1.10 - 2017-01-24

- add support for Laravel 5.4

## 1.0.10 - 2016-10-01

- add `CDATA` to title
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@
],
"require": {
"php" : "^7.0",
"illuminate/support": "~5.1.0|~5.2.0|~5.3.0|~5.4.0@dev",
"illuminate/support": "~5.1.0|~5.2.0|~5.3.0|~5.4.0",
"nesbot/carbon": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "5.*",
"orchestra/testbench": "~3.3.0",
"orchestra/database": "~3.3.0"
"orchestra/testbench": "~3.3.0|~3.4.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 2 additions & 0 deletions tests/FeedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public function all_feeds_are_available_on_their_registered_routes()
collect($this->feedNames)->each(function (string $feedName) {
$this->assertEquals(200, $this->call('GET', "/feedBaseUrl/{$feedName}")->getStatusCode());
});


}

/** @test */
Expand Down
6 changes: 6 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
namespace Spatie\Feed\Test;

use Carbon\Carbon;
use Exception;
use Illuminate\Foundation\Exceptions\Handler;
use Spatie\Feed\FeedServiceProvider;

abstract class TestCase extends \Orchestra\Testbench\TestCase
Expand All @@ -14,6 +16,8 @@ public function __construct($name = null, array $data = [], $dataName = '')
->startOfDay());

parent::__construct($name, $data, $dataName);


}

protected function getPackageProviders($app)
Expand All @@ -40,6 +44,8 @@ protected function getEnvironmentSetUp($app)

$app['config']->set('laravel-feed.feeds', $feed);

$app['config']->set('app.debug', true);

$this->setUpRoutes($app);
}

Expand Down

0 comments on commit d00936e

Please sign in to comment.