[pLog-svn] r6656 - plog/branches/lifetype-1.2/class/test/tests/net/xmlrpc
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Jun 23 14:25:49 EDT 2008
Author: jondaley
Date: 2008-06-23 14:25:49 -0400 (Mon, 23 Jun 2008)
New Revision: 6656
Modified:
plog/branches/lifetype-1.2/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php
Log:
fixed test crash. fixed comment typos. turned off debugging
Modified: plog/branches/lifetype-1.2/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php 2008-06-23 18:00:51 UTC (rev 6655)
+++ plog/branches/lifetype-1.2/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php 2008-06-23 18:25:49 UTC (rev 6656)
@@ -35,10 +35,6 @@
*/
var $cat;
- /**
- * URL pointing to this server's xmlrpc.php
- */
-
function setUp()
{
// create the blog owner
@@ -91,13 +87,13 @@
$users = new Users();
$users->deleteUser( $this->owner->getId());
- $blogs = new Blogs();
- $blogs->deleteBlog( $this->blog->getId());
-
$cats = new ArticleCategories();
$cats->deleteCategory( $this->cat->getId(), $this->blog->getId());
- }
+ $blogs = new Blogs();
+ $blogs->deleteBlog( $this->blog->getId());
+ }
+
/**
* test the blogger.newPost method call
*/
@@ -418,7 +414,7 @@
0
);
$articles = new Articles();
- $this->assertTrue( $articles->addArticle( $article ), "Unable to add the first tet article" );
+ $this->assertTrue( $articles->addArticle( $article ), "Unable to add the first test article" );
$article2 = new Article(
"topic 2",
"text 2",
@@ -557,7 +553,6 @@
$cat3 = TestTools::createArticleCategory( $this->blog->getId());
$c = new IXR_Client( $this->url );
- $c->debug=true;
$content = array();
$content["title"] = "topic";
$content["description"] = "body text";
More information about the pLog-svn
mailing list