Skip to content

Commit ae6d8f7

Browse files
authored
improved_tests (#215)
1 parent 3e57e1d commit ae6d8f7

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,4 @@ script:
5959
- test -z $ACCESS_KEY_ID -a -z $ACCESS_KEY_SECRET || composer test
6060

6161
after_success:
62-
# Code coverage report
63-
- >
64-
if [ $(phpenv version-name) == "7.1" ]; then
65-
bash <(curl -s https://codecov.io/bash)
66-
fi
62+
- bash <(curl -s https://codecov.io/bash)

tests/Unit/Request/ArrayAccessTraitTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
namespace AlibabaCloud\Client\Tests\Unit\Request;
44

5-
use PHPUnit\Framework\TestCase;
6-
use AlibabaCloud\Client\Exception\ClientException;
75
use AlibabaCloud\Client\Tests\Mock\Services\Rds\DeleteDatabaseRequest;
6+
use PHPUnit\Framework\TestCase;
87

98
/**
109
* Class ArrayAccessTraitTest
@@ -15,9 +14,6 @@
1514
*/
1615
class ArrayAccessTraitTest extends TestCase
1716
{
18-
/**
19-
* @throws ClientException
20-
*/
2117
public function testArrayAccess()
2218
{
2319
// Setup

0 commit comments

Comments
 (0)