Skip to content

Commit

Permalink
Added test for the recent bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskonnertz committed Oct 25, 2017
1 parent f1a0116 commit 197470d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/MainClassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ public function testTranslation()
$this->assertNotNull($translationAlternatives);
}

public function testItalianTranslation()
{
$deepLy = $this->getInstance();

$translatedText = $deepLy->translate('ciao', 'EN', 'IT');
$this->assertEquals('hello', $translatedText);
}

public function testProposeTranslations()
{
$deepLy = $this->getInstance();
Expand Down

0 comments on commit 197470d

Please sign in to comment.