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
03e208e5
Commit
03e208e5
authored
Apr 02, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed wrong test
parent
869d96ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
QueryTest.php
tests/unit/extensions/sphinx/QueryTest.php
+0
-6
QueryTest.php
tests/unit/framework/db/QueryTest.php
+0
-6
No files found.
tests/unit/extensions/sphinx/QueryTest.php
View file @
03e208e5
...
@@ -62,12 +62,6 @@ class QueryTest extends SphinxTestCase
...
@@ -62,12 +62,6 @@ class QueryTest extends SphinxTestCase
public
function
testFilterWhere
()
public
function
testFilterWhere
()
{
{
// should just call where() when string is passed
$query
=
new
Query
;
$query
->
filterWhere
(
'id = :id'
,
[
':id'
=>
null
]);
$this
->
assertEquals
(
'id = :id'
,
$query
->
where
);
$this
->
assertEquals
([
':id'
=>
null
],
$query
->
params
);
// should work with hash format
// should work with hash format
$query
=
new
Query
;
$query
=
new
Query
;
$query
->
filterWhere
([
$query
->
filterWhere
([
...
...
tests/unit/framework/db/QueryTest.php
View file @
03e208e5
...
@@ -51,12 +51,6 @@ class QueryTest extends DatabaseTestCase
...
@@ -51,12 +51,6 @@ class QueryTest extends DatabaseTestCase
public
function
testFilterWhere
()
public
function
testFilterWhere
()
{
{
// should just call where() when string is passed
$query
=
new
Query
;
$query
->
filterWhere
(
'id = :id'
,
[
':id'
=>
null
]);
$this
->
assertEquals
(
'id = :id'
,
$query
->
where
);
$this
->
assertEquals
([
':id'
=>
null
],
$query
->
params
);
// should work with hash format
// should work with hash format
$query
=
new
Query
;
$query
=
new
Query
;
$query
->
filterWhere
([
$query
->
filterWhere
([
...
...
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