Browse Source

add email address target to the test

pull/9/head
Aaron Parecki 8 years ago
parent
commit
b9bbf5b442
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tests/APITest.php

+ 1
- 0
tests/APITest.php View File

@ -120,6 +120,7 @@ class APITest extends PHPUnit_Framework_TestCase {
foreach ([['token'=>'a','source'=>'notaurl','target'=>'alsonotaurl'],
['token'=>'a','source'=>'http://source.example','target'=>'alsonotaurl'],
['token'=>'a','source'=>'notaurl','target'=>'http://target.example'],
['token'=>'a','source'=>'http://source.example','target'=>'mailto:user@example.com'],
['token'=>'a','source'=>'http://source.example','target'=>'http://target.example','callback'=>'notaurl']
] as $params) {
$response = $this->webmention($params);

Loading…
Cancel
Save