Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Indentation consistency in unit tests.

  • Loading branch information...
commit d1a785ff79d56fb3ce9e3b11397311c3f470dc62 1 parent 5e418fc
resurtm authored

Showing 1 changed file with 10 additions and 10 deletions. Show diff stats Hide diff stats

  1. +10 10 tests/framework/validators/CDateValidatorTest.php
20 tests/framework/validators/CDateValidatorTest.php
@@ -46,18 +46,18 @@ public function testFormatOption()
46 46 $this->assertFalse($model->validate());
47 47 }
48 48
49   - /**
50   - * https://github.com/yiisoft/yii/issues/1955
51   - *
52   - * @expectedException CException
53   - * @return null
54   - */
55   - public function testArrayValue()
56   - {
57   - $model = $this->getModelMock(array('format' => 'dd-MM-yyyy'));
  49 + /**
  50 + * https://github.com/yiisoft/yii/issues/1955
  51 + *
  52 + * @expectedException CException
  53 + * @return null
  54 + */
  55 + public function testArrayValue()
  56 + {
  57 + $model = $this->getModelMock(array('format' => 'dd-MM-yyyy'));
58 58 $model->foo = array('01-01-2011');
59 59 $model->validate();
60   - }
  60 + }
61 61
62 62 /**
63 63 * Test the timestamp option

0 comments on commit d1a785f

Please sign in to comment.
Something went wrong with that request. Please try again.