From b0615cdc5f44cfbbd7844bf89a9aa3d660399f8a Mon Sep 17 00:00:00 2001 From: CheeseSucker Date: Tue, 18 Jun 2013 14:28:12 +0200 Subject: [PATCH] Fixed a markdown issue Maybe a bug in SS markdown? The old code generated: assertEmailSent which can simulate sending emails through theEmail->send()` API Instead of the expected: assertEmailSent which can simulate sending emails through the Email->send() API faulty-link = http://api.silverstripe.org/search/lookup/?q=SapphireTest->assertEmailSent(&version=trunk&module=framework) good-link: http://api.silverstripe.org/search/lookup/?q=SapphireTest->assertEmailSent()&version=trunk&module=framework --- docs/en/topics/testing/create-silverstripe-test.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/topics/testing/create-silverstripe-test.md b/docs/en/topics/testing/create-silverstripe-test.md index 61ad83a5d..c48954a65 100644 --- a/docs/en/topics/testing/create-silverstripe-test.md +++ b/docs/en/topics/testing/create-silverstripe-test.md @@ -58,12 +58,12 @@ See [the PHPUnit manual](http://www.phpunit.de/manual/current/en/api.html#api.as for a listing of all PHPUnit's built-in assertions. The `[api:SapphireTest]` class comes with additional assertions which are more -specific to the framework, e.g. `[assertEmailSent](api:SapphireTest->assertEmailSent())` -which can simulate sending emails through the `Email->send()` API without actually +specific to the framework, e.g. `[api:SapphireTest->assertEmailSent()]` +which can simulate sending emails through the `[api:Email->send()]` API without actually using a mail server (see the [testing emails](email-sending)) guide. ## Fixtures Often you need to test your functionality with some existing data, so called "fixtures". These records are inserted on a fresh test database automatically. -[Read more about fixtures](fixtures). \ No newline at end of file +[Read more about fixtures](fixtures).