Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Fix test fixture
Browse files Browse the repository at this point in the history
Signature of PageLinkAuditor changed but no corresponding change was made to its test.
  • Loading branch information
kelvin-chappell committed Apr 22, 2013
1 parent 1028f9a commit 6821f49
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ class PageLinkAuditorTest extends FunSuite with MockitoSugar {
val listOfLinks = goodTheGuardianComLinks ::: brokenTheGuardianComLinks :::
workingGuardianCoUkLinks ::: brokenGuardianCoUkLinks ::: externalLinks

val sorter: PageLinkAuditor = new PageLinkAuditor("http://www.theguardian.com", "http://www.guardian.co.uk", listOfLinks, httpClient)
val sorter: PageLinkAuditor = new PageLinkAuditor("www.theguardian.com", "www.guardian.co.uk", listOfLinks, httpClient)

assert(sorter.brokenLinksToOriginalDomain === brokenGuardianCoUkLinks)
assert(sorter.brokenLinkToTargetDomain === brokenTheGuardianComLinks)
Expand Down

0 comments on commit 6821f49

Please sign in to comment.