Skip to content

Commit

Permalink
fixed travis ci test failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
lesstif committed Aug 15, 2015
1 parent 662efac commit d097af7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ php:

before_install:
- travis_retry composer self-update

- travis_retry composer install --no-interaction --prefer-dist
script:
# - phpunit --verbose tests/MockTest
- phpunit --verbose tests/MockTest

matrix:
allow_failures:
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="tests/bootstrap.php" colors="true">
<phpunit bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="Jira Rest API Test Suite">
<directory>tests/</directory>
Expand Down
5 changes: 0 additions & 5 deletions tests/IssueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ public function testIssue()

print_r($issue->fields->versions[0]);

//foreach ($issue->fields->comment->comments as $c) {
// echo ("comment : " . $c->body . "\n");
//}
} catch (HTTPException $e) {
$this->assertTrue(false, $e->getMessage());
}
Expand Down Expand Up @@ -154,7 +151,6 @@ public function testTransition($issueKey)
$this->assertTrue(false, 'testTransition Failed : '.$e->getMessage());
}
}
//

public function testSearch()
{
Expand All @@ -168,5 +164,4 @@ public function testSearch()
$this->assertTrue(false, 'testSearch Failed : '.$e->getMessage());
}
}

}

0 comments on commit d097af7

Please sign in to comment.