Skip to content

Commit

Permalink
add semaphoreci support
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBool committed Sep 18, 2016
1 parent fe6b07d commit 655e5bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
16 changes: 0 additions & 16 deletions src/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,6 @@ public function __construct(Client $http, array $config = [])
$this->config = $config;
}

/**
* @param array $config
*/
public function setConfig(array $config)
{
$this->config = $config;
}

/**
* @return array
*/
public function getConfig()
{
return $this->config;
}

/**
* @param $text
* @return mixed
Expand Down
10 changes: 1 addition & 9 deletions tests/TranslugTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function it_test_the_english_title_translated_text()

$this->assertEquals('How to install Laravel',$translatedText);
}

/** @test */
public function it_test_the_english_title_slug_text()
{
Expand Down Expand Up @@ -53,13 +53,5 @@ public function it_test_the_slug_class_set_config()
$this->assertEquals(['key' => 1533000,'keyfrom' => 'laravist'],$this->translug->getConfig());
}

/** @test */
public function it_test_the_traslation_class_set_config()
{
$config = ['key' => 1533030,'keyfrom' => 'jellybool'];
$this->translator->setConfig($config);

$this->assertEquals(['key' => 1533030,'keyfrom' => 'jellybool'],$this->translator->getConfig());
}

}

0 comments on commit 655e5bc

Please sign in to comment.