Skip to content

Commit

Permalink
fix big facade typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjatenee committed May 23, 2017
1 parent 6a098c7 commit 19ae6b2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Facades/JsonFeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class JsonFeed extends Facade
{
protected function getFacadeAcessor()
protected static function getFacadeAccessor()
{
return 'jsonFeed';
}
Expand Down
17 changes: 17 additions & 0 deletions tests/Facades/JsonFeedTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

namespace Tests\Mateusjatenee\JsonFeed\Facades;

use Mateusjatenee\JsonFeed\Facades\JsonFeed as JsonFeedFacade;
use Mateusjatenee\JsonFeed\JsonFeed;
use Mateusjatenee\JsonFeed\Tests\TestCase;

class JsonFeedTest extends TestCase
{

/** @test */
public function it_returns_an_instance_of_json_feed()
{
$this->assertInstanceOf(JsonFeed::class, JsonFeedFacade::start());
}
}

0 comments on commit 19ae6b2

Please sign in to comment.