You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2010/03/23 08:14:47 UTC
svn commit: r926485 - /shindig/trunk/php/test/gadgets/GadgetContextTest.php
Author: lindner
Date: Tue Mar 23 07:14:46 2010
New Revision: 926485
URL: http://svn.apache.org/viewvc?rev=926485&view=rev
Log:
SHINDIG-1304 | Patch from Evgeny Bogdano | Tests fail with errors for GadgetContextTest.php
Modified:
shindig/trunk/php/test/gadgets/GadgetContextTest.php
Modified: shindig/trunk/php/test/gadgets/GadgetContextTest.php
URL: http://svn.apache.org/viewvc/shindig/trunk/php/test/gadgets/GadgetContextTest.php?rev=926485&r1=926484&r2=926485&view=diff
==============================================================================
--- shindig/trunk/php/test/gadgets/GadgetContextTest.php (original)
+++ shindig/trunk/php/test/gadgets/GadgetContextTest.php Tue Mar 23 07:14:46 2010
@@ -146,7 +146,7 @@ class GadgetContextTest extends PHPUnit_
public function testSetRenderingContext() {
$redering_context = 'Dummie_rendering_context';
$this->GadgetContext->setRenderingContext($redering_context);
- $this->assertAttributeEquals($redering_context, 'renderingContext', $this->GadgetContext);
+ $this->assertEquals($redering_context, $this->GadgetContext->getRenderingContext());
}
@@ -156,7 +156,7 @@ class GadgetContextTest extends PHPUnit_
public function testSetUrl() {
$url = 'Dummie_url';
$this->GadgetContext->setUrl($url);
- $this->assertAttributeEquals($url, 'url', $this->GadgetContext);
+ $this->assertEquals($url, $this->GadgetContext->getUrl());
}
@@ -166,7 +166,7 @@ class GadgetContextTest extends PHPUnit_
public function testSetView() {
$view = 'Dummie_view';
$this->GadgetContext->setView($view);
- $this->assertAttributeEquals($view, 'view', $this->GadgetContext);
+ $this->assertEquals($view, $this->GadgetContext->getView());
}