Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
f974e1a5
Commit
f974e1a5
authored
Oct 15, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed validator test break
parent
598d0128
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
6 deletions
+2
-6
Customer.php
tests/unit/data/ar/Customer.php
+0
-2
ValidatorTestMainModel.php
tests/unit/data/validators/models/ValidatorTestMainModel.php
+1
-1
ValidatorTestRefModel.php
tests/unit/data/validators/models/ValidatorTestRefModel.php
+1
-1
ExistValidatorTest.php
tests/unit/framework/validators/ExistValidatorTest.php
+0
-1
UniqueValidatorTest.php
tests/unit/framework/validators/UniqueValidatorTest.php
+0
-1
No files found.
tests/unit/data/ar/Customer.php
View file @
f974e1a5
<?php
<?php
namespace
yiiunit\data\ar
;
namespace
yiiunit\data\ar
;
use
yii\db\ActiveQuery
;
/**
/**
* Class Customer
* Class Customer
*
*
...
...
tests/unit/data/validators/models/ValidatorTestMainModel.php
View file @
f974e1a5
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
namespace
yiiunit\data\validators\models
;
namespace
yiiunit\data\validators\models
;
use
yii
\db
\ActiveRecord
;
use
yii
unit\data\ar
\ActiveRecord
;
class
ValidatorTestMainModel
extends
ActiveRecord
class
ValidatorTestMainModel
extends
ActiveRecord
{
{
...
...
tests/unit/data/validators/models/ValidatorTestRefModel.php
View file @
f974e1a5
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
namespace
yiiunit\data\validators\models
;
namespace
yiiunit\data\validators\models
;
use
yii
\db
\ActiveRecord
;
use
yii
unit\data\ar
\ActiveRecord
;
class
ValidatorTestRefModel
extends
ActiveRecord
class
ValidatorTestRefModel
extends
ActiveRecord
{
{
...
...
tests/unit/framework/validators/ExistValidatorTest.php
View file @
f974e1a5
...
@@ -13,7 +13,6 @@ use yiiunit\framework\db\DatabaseTestCase;
...
@@ -13,7 +13,6 @@ use yiiunit\framework\db\DatabaseTestCase;
class
ExistValidatorTest
extends
DatabaseTestCase
class
ExistValidatorTest
extends
DatabaseTestCase
{
{
protected
$initializeAppWithDb
=
true
;
protected
$driverName
=
'mysql'
;
protected
$driverName
=
'mysql'
;
public
function
setUp
()
public
function
setUp
()
...
...
tests/unit/framework/validators/UniqueValidatorTest.php
View file @
f974e1a5
...
@@ -14,7 +14,6 @@ use yiiunit\TestCase;
...
@@ -14,7 +14,6 @@ use yiiunit\TestCase;
class
UniqueValidatorTest
extends
DatabaseTestCase
class
UniqueValidatorTest
extends
DatabaseTestCase
{
{
protected
$initializeAppWithDb
=
true
;
protected
$driverName
=
'mysql'
;
protected
$driverName
=
'mysql'
;
public
function
setUp
()
public
function
setUp
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment