@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $this->projectId = $projectId; |
| 51 | 51 | $this->apiKey = $apiKey; |
| 52 | 52 | |
| 53 | - $this->httpClient = isset($client) ? $client : new HttpClient(['base_uri' => $baseUri]); |
|
| 53 | + $this->httpClient = isset($client) ? $client : new HttpClient(['base_uri' => $baseUri]); |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** |
@@ -10,73 +10,73 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | class FileTest extends PHPUnit_Framework_TestCase |
| 12 | 12 | { |
| 13 | - /** |
|
| 14 | - * @var File |
|
| 15 | - */ |
|
| 16 | - protected $object; |
|
| 13 | + /** |
|
| 14 | + * @var File |
|
| 15 | + */ |
|
| 16 | + protected $object; |
|
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Sets up the fixture, for example, opens a network connection. |
|
| 20 | - * This method is called before a test is executed. |
|
| 21 | - */ |
|
| 22 | - protected function setUp() |
|
| 23 | - { |
|
| 24 | - $this->object = new File('x', 'y', new Fake()); |
|
| 25 | - } |
|
| 18 | + /** |
|
| 19 | + * Sets up the fixture, for example, opens a network connection. |
|
| 20 | + * This method is called before a test is executed. |
|
| 21 | + */ |
|
| 22 | + protected function setUp() |
|
| 23 | + { |
|
| 24 | + $this->object = new File('x', 'y', new Fake()); |
|
| 25 | + } |
|
| 26 | 26 | |
| 27 | - /** |
|
| 28 | - * Tears down the fixture, for example, closes a network connection. |
|
| 29 | - * This method is called after a test is executed. |
|
| 30 | - */ |
|
| 31 | - protected function tearDown() |
|
| 32 | - { |
|
| 33 | - } |
|
| 27 | + /** |
|
| 28 | + * Tears down the fixture, for example, closes a network connection. |
|
| 29 | + * This method is called after a test is executed. |
|
| 30 | + */ |
|
| 31 | + protected function tearDown() |
|
| 32 | + { |
|
| 33 | + } |
|
| 34 | 34 | |
| 35 | - /** |
|
| 36 | - * @covers ElKuKu\Crowdin\Package\File::add |
|
| 37 | - * @todo Implement testAdd(). |
|
| 38 | - */ |
|
| 39 | - public function testAdd() |
|
| 40 | - { |
|
| 41 | - // Remove the following lines when you implement this test. |
|
| 42 | - $this->markTestIncomplete( |
|
| 43 | - 'This test has not been implemented yet.' |
|
| 44 | - ); |
|
| 45 | - } |
|
| 35 | + /** |
|
| 36 | + * @covers ElKuKu\Crowdin\Package\File::add |
|
| 37 | + * @todo Implement testAdd(). |
|
| 38 | + */ |
|
| 39 | + public function testAdd() |
|
| 40 | + { |
|
| 41 | + // Remove the following lines when you implement this test. |
|
| 42 | + $this->markTestIncomplete( |
|
| 43 | + 'This test has not been implemented yet.' |
|
| 44 | + ); |
|
| 45 | + } |
|
| 46 | 46 | |
| 47 | - /** |
|
| 48 | - * @covers ElKuKu\Crowdin\Package\File::update |
|
| 49 | - * @todo Implement testUpdate(). |
|
| 50 | - */ |
|
| 51 | - public function testUpdate() |
|
| 52 | - { |
|
| 53 | - // Remove the following lines when you implement this test. |
|
| 54 | - $this->markTestIncomplete( |
|
| 55 | - 'This test has not been implemented yet.' |
|
| 56 | - ); |
|
| 57 | - } |
|
| 47 | + /** |
|
| 48 | + * @covers ElKuKu\Crowdin\Package\File::update |
|
| 49 | + * @todo Implement testUpdate(). |
|
| 50 | + */ |
|
| 51 | + public function testUpdate() |
|
| 52 | + { |
|
| 53 | + // Remove the following lines when you implement this test. |
|
| 54 | + $this->markTestIncomplete( |
|
| 55 | + 'This test has not been implemented yet.' |
|
| 56 | + ); |
|
| 57 | + } |
|
| 58 | 58 | |
| 59 | - /** |
|
| 60 | - * @covers ElKuKu\Crowdin\Package\File::delete |
|
| 61 | - * @todo Implement testDelete(). |
|
| 62 | - */ |
|
| 63 | - public function testDelete() |
|
| 64 | - { |
|
| 65 | - // Remove the following lines when you implement this test. |
|
| 66 | - $this->markTestIncomplete( |
|
| 67 | - 'This test has not been implemented yet.' |
|
| 68 | - ); |
|
| 69 | - } |
|
| 59 | + /** |
|
| 60 | + * @covers ElKuKu\Crowdin\Package\File::delete |
|
| 61 | + * @todo Implement testDelete(). |
|
| 62 | + */ |
|
| 63 | + public function testDelete() |
|
| 64 | + { |
|
| 65 | + // Remove the following lines when you implement this test. |
|
| 66 | + $this->markTestIncomplete( |
|
| 67 | + 'This test has not been implemented yet.' |
|
| 68 | + ); |
|
| 69 | + } |
|
| 70 | 70 | |
| 71 | - /** |
|
| 72 | - * @covers ElKuKu\Crowdin\Package\File::export |
|
| 73 | - * @todo Implement testExport(). |
|
| 74 | - */ |
|
| 75 | - public function testExport() |
|
| 76 | - { |
|
| 77 | - // Remove the following lines when you implement this test. |
|
| 78 | - $this->markTestIncomplete( |
|
| 79 | - 'This test has not been implemented yet.' |
|
| 80 | - ); |
|
| 81 | - } |
|
| 71 | + /** |
|
| 72 | + * @covers ElKuKu\Crowdin\Package\File::export |
|
| 73 | + * @todo Implement testExport(). |
|
| 74 | + */ |
|
| 75 | + public function testExport() |
|
| 76 | + { |
|
| 77 | + // Remove the following lines when you implement this test. |
|
| 78 | + $this->markTestIncomplete( |
|
| 79 | + 'This test has not been implemented yet.' |
|
| 80 | + ); |
|
| 81 | + } |
|
| 82 | 82 | } |