From e00b77b790f3ce19529f0474f9efb992f88e8fc7 Mon Sep 17 00:00:00 2001 From: Ivan Date: Fri, 7 Aug 2020 16:47:32 +0200 Subject: [PATCH] fixed phptest typo --- tests/MailTrackerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/MailTrackerTest.php b/tests/MailTrackerTest.php index 5579afd..b0874f9 100644 --- a/tests/MailTrackerTest.php +++ b/tests/MailTrackerTest.php @@ -702,7 +702,7 @@ public function it_handles_apostrophes_in_links() $matches = null; preg_match_all('/(]*href=[\"])([^\"]*)/', $body, $matches); $links = $matches[2]; - $aLink = $links[1]; + $aLink = $links[0]; $expected_url = "http://www.google.com?q=foo'bar"; $this->assertNotNull($aLink);