[Pkg-owncloud-commits] [owncloud-doc] 146/270: fix typo in testing code example

David Prévot taffit at moszumanska.debian.org
Thu Jul 31 03:53:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit e7bf4f71d754ca6ff0489511858aaaec67a72da1
Author: Morris Jobke <hey at morrisjobke.de>
Date:   Sat May 31 20:18:43 2014 +0200

    fix typo in testing code example
---
 developer_manual/app/testing.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/developer_manual/app/testing.rst b/developer_manual/app/testing.rst
index b0db5dc..82b45d4 100644
--- a/developer_manual/app/testing.rst
+++ b/developer_manual/app/testing.rst
@@ -4,7 +4,7 @@ Testing
 
 .. sectionauthor:: Bernhard Posselt <dev at bernhard-posselt.com>
 
-All PHP classes can be tested with `PHPUnit <http://phpunit.de/>`_, JavaScript can be tested by using `Karma <http://karma-runner.github.io/0.12/index.html>`_. 
+All PHP classes can be tested with `PHPUnit <http://phpunit.de/>`_, JavaScript can be tested by using `Karma <http://karma-runner.github.io/0.12/index.html>`_.
 
 
 
@@ -53,7 +53,7 @@ would look like this:
     <?php
     // tests/unit/storage/AuthorStorageTest.php
     namespace OCA\MyApp\Storage;
-    
+
     class AuthorStorageTest extends \PHPUnit_Framework_TestCase {
 
         private $container;
@@ -61,7 +61,7 @@ would look like this:
 
         protected function setUp() {
             $app = new \OCA\MyApp\AppInfo\Application();
-            $this->container = $notes->getContainer();
+            $this->container = $app->getContainer();
             $this->storage = $storage = $this->getMockBuilder('\OCP\Files\Folder')
                 ->disableOriginalConstructor()
                 ->getMock();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list