Skip to content

Commit

Permalink
improved_tests (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliguyong authored May 22, 2020
1 parent 3e57e1d commit ae6d8f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,4 @@ script:
- test -z $ACCESS_KEY_ID -a -z $ACCESS_KEY_SECRET || composer test

after_success:
# Code coverage report
- >
if [ $(phpenv version-name) == "7.1" ]; then
bash <(curl -s https://codecov.io/bash)
fi
- bash <(curl -s https://codecov.io/bash)
6 changes: 1 addition & 5 deletions tests/Unit/Request/ArrayAccessTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

namespace AlibabaCloud\Client\Tests\Unit\Request;

use PHPUnit\Framework\TestCase;
use AlibabaCloud\Client\Exception\ClientException;
use AlibabaCloud\Client\Tests\Mock\Services\Rds\DeleteDatabaseRequest;
use PHPUnit\Framework\TestCase;

/**
* Class ArrayAccessTraitTest
Expand All @@ -15,9 +14,6 @@
*/
class ArrayAccessTraitTest extends TestCase
{
/**
* @throws ClientException
*/
public function testArrayAccess()
{
// Setup
Expand Down

0 comments on commit ae6d8f7

Please sign in to comment.