Skip to content

Commit

Permalink
edit .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Aug 15, 2016
1 parent ffb53cc commit a2e52a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
vendor
/vendor
build
composer.phar
composer.lock
14 changes: 4 additions & 10 deletions tests/ClickatellMessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@

class ClickatellMessageTest extends \PHPUnit_Framework_TestCase
{
private $clickatellMessage;
protected $clickatellMessage;

public function setUp()
{
parent::setUp();
$this->clickatellMessage = new ClickatellMessage();
}

/**
* @test
*/
/** @test */
public function it_sets_a_clickatell_message()
{
$this->assertInstanceOf(
Expand All @@ -25,19 +23,15 @@ public function it_sets_a_clickatell_message()
);
}

/**
* @test
*/
/** @test */
public function it_can_construct_with_a_new_message()
{
$actual = ClickatellMessage::create('This is some content');

$this->assertEquals('This is some content', $actual->getContent());
}

/**
* @test
*/
/** @test */
public function it_can_set_new_content()
{
$actual = ClickatellMessage::create();
Expand Down

0 comments on commit a2e52a9

Please sign in to comment.