| @@ 52-58 (lines=7) @@ | ||
| 49 | $this->assertFalse($test); |
|
| 50 | } |
|
| 51 | ||
| 52 | public function testWithSH1AndComdoText() |
|
| 53 | { |
|
| 54 | $response = $this->validSHA1 . "\n"; |
|
| 55 | $response .= "comodoca.com\n"; |
|
| 56 | $test = $this->checkresponse($response); |
|
| 57 | $this->assertTrue($test); |
|
| 58 | } |
|
| 59 | ||
| 60 | public function testWithSH1AndComdoTextNoTrailingReturn() |
|
| 61 | { |
|
| @@ 68-74 (lines=7) @@ | ||
| 65 | $this->assertTrue($test); |
|
| 66 | } |
|
| 67 | ||
| 68 | public function testWithSH1AndComdoTextAndNewLine() |
|
| 69 | { |
|
| 70 | $response = $this->validSHA1 . "\n"; |
|
| 71 | $response .= "comodoca.com\n\n"; |
|
| 72 | $test = $this->checkresponse($response); |
|
| 73 | $this->assertTrue($test); |
|
| 74 | } |
|
| 75 | ||
| 76 | } |
|
| 77 | ||