From b9bbf5b442a78ae434c83cf286e916dd9c00b688 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Wed, 3 Feb 2016 11:40:55 -0800 Subject: [PATCH] add email address target to the test --- tests/APITest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/APITest.php b/tests/APITest.php index a447f0b..200155b 100644 --- a/tests/APITest.php +++ b/tests/APITest.php @@ -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);