dsyph3r/symblog-docs — Issue #10: PHPUnit
Author: jaimesuez
Created: 2012-02-11 05:35:57+00:00
State: open

I get the following error in the Testing Part:

```
There was 1 error:

1) Blogger\BlogBundle\Tests\Twig\Extensions\BloggerBlogExtensionTest::testCreatedAgo
InvalidArgumentException: You must not expect the generic exception class.

/Users/jaimesuez/Sites/symblog/src/Blogger/BlogBundle/Tests/Twig/Extensions/BloggerBlogExtensionTest.php:23

FAILURES!
Tests: 4, Assertions: 14, Errors: 1.
```

It's related to this part of the `BloggerBlogExtension.php`:

```PHP
setExpectedException('\Exception');
$blog->createdAgo($this->getDateTime(60));
}
```

Thanks!