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

DoctrineExpressionTest::testLOr()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
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