Skip to content

Commit d097af7

Browse files
committed
fixed travis ci test failed.
1 parent 662efac commit d097af7

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ php:
99

1010
before_install:
1111
- travis_retry composer self-update
12-
12+
- travis_retry composer install --no-interaction --prefer-dist
1313
script:
14-
# - phpunit --verbose tests/MockTest
14+
- phpunit --verbose tests/MockTest
1515

1616
matrix:
1717
allow_failures:

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<phpunit bootstrap="tests/bootstrap.php" colors="true">
3+
<phpunit bootstrap="vendor/autoload.php" colors="true">
44
<testsuites>
55
<testsuite name="Jira Rest API Test Suite">
66
<directory>tests/</directory>

tests/IssueTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ public function testIssue()
1919

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

22-
//foreach ($issue->fields->comment->comments as $c) {
23-
// echo ("comment : " . $c->body . "\n");
24-
//}
2522
} catch (HTTPException $e) {
2623
$this->assertTrue(false, $e->getMessage());
2724
}
@@ -154,7 +151,6 @@ public function testTransition($issueKey)
154151
$this->assertTrue(false, 'testTransition Failed : '.$e->getMessage());
155152
}
156153
}
157-
//
158154

159155
public function testSearch()
160156
{
@@ -168,5 +164,4 @@ public function testSearch()
168164
$this->assertTrue(false, 'testSearch Failed : '.$e->getMessage());
169165
}
170166
}
171-
172167
}

0 commit comments

Comments
 (0)