Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Commit

Permalink
Started to write test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
percymamedy committed Feb 4, 2016
1 parent e92b2b6 commit 4879de1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "~5.0",
"illuminate/support": "~5.0|~5.1|~5.2",
"guzzlehttp/guzzle": "~5.3|~6.0"
},
"require-dev": {
"fzaninotto/faker": "~1.4"
"fzaninotto/faker": "~1.4",
"phpunit/phpunit": "~4.0"
},
"autoload": {
"classmap": [
"tests/TestCase.php"
],
"psr-4": {
"FindBrok\\WatsonTranslate\\": "src/"
}
Expand Down
16 changes: 16 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

/**
* Class TestCase
*/
class TestCase extends PHPUnit_Framework_TestCase
{
/**
* Testing text translate method
*/
public function testTextTranslate()
{
$stack = array();
$this->assertEquals(0, count($stack));
}
}

0 comments on commit 4879de1

Please sign in to comment.