Completed
Push — ezp-31420-merge-up ( ec14fb...141a64 )
by
unknown
40:13 queued 27:42
created

DoctrineExpressionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A testLOr() 0 6 1
1
<?php
2
3
/**
4
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
5
 * @license For full copyright and license information view LICENSE file distributed with this source code.
6
 */
7
namespace eZ\Publish\Core\Persistence\Doctrine\Tests;
8
9
use eZ\Publish\Core\Persistence\Doctrine\DoctrineExpression;
10
11
class DoctrineExpressionTest extends TestCase
12
{
13
    public function testLOr()
14
    {
15
        $expression = new DoctrineExpression($this->connection);
0 ignored issues
show
Deprecated Code introduced by
The class eZ\Publish\Core\Persiste...rine\DoctrineExpression has been deprecated with message: Since 6.13, please use Doctrine DBAL instead (@ezpublish.persistence.connection) it provides richer and more powerful DB abstraction which is also easier to use.

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
16
17
        $this->assertEquals('( 1 AND 1 )', $expression->lAnd('1', '1'));
18
    }
19
}
20