Skip to content

Commit

Permalink
Fixed tests and some more indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNielson committed Jul 7, 2014
1 parent 85e8820 commit a6b6349
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
18 changes: 9 additions & 9 deletions tests/Buttons/ButtonsFacebookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ class ButtonsFacebookTest extends PHPUnit_Framework_TestCase {

public function setUp()
{
$this->environment = m::mock('Illuminate\View\Environment');
$this->view = m::mock('Illuminate\View\Factory');
}
public function tearDown()
{
m::close();
}

public function tearDown()
{
m::close();
}

public function testRenderExists()
{
$facebook = new Facebook($this->environment);
$facebook = new Facebook($this->view);
$this->assertTrue(method_exists($facebook, 'render'), 'Class does not have method render');
}
}
}
18 changes: 9 additions & 9 deletions tests/Buttons/ButtonsGooglePlusTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ class ButtonsGooglePlusTest extends PHPUnit_Framework_TestCase {

public function setUp()
{
$this->environment = m::mock('Illuminate\View\Environment');
$this->view = m::mock('Illuminate\View\Factory');
}
public function tearDown()
{
m::close();
}

public function tearDown()
{
m::close();
}

public function testRenderExists()
{
$googlePlus = new GooglePlus($this->environment);
$googlePlus = new GooglePlus($this->view);
$this->assertTrue(method_exists($googlePlus, 'render'), 'Class does not have method render');
}
}
}
18 changes: 9 additions & 9 deletions tests/Buttons/ButtonsTwitterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ class ButtonsTwitterTest extends PHPUnit_Framework_TestCase {

public function setUp()
{
$this->environment = m::mock('Illuminate\View\Environment');
$this->view = m::mock('Illuminate\View\Factory');
}
public function tearDown()
{
m::close();
}

public function tearDown()
{
m::close();
}

public function testRenderExists()
{
$twitter = new Twitter($this->environment);
$twitter = new Twitter($this->view);
$this->assertTrue(method_exists($twitter, 'render'), 'Class does not have method render');
}
}
}

0 comments on commit a6b6349

Please sign in to comment.