Skip to content

Commit be3b1a9

Browse files
committed
fix invalid exception class name
1 parent fa5d934 commit be3b1a9

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

tests/06_Query/QOM/ConvertQueriesBackAndForthTest.php

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,30 @@
55
require_once('Sql2TestQueries.php');
66
require_once('QomTestQueries.php');
77

8-
use PHPCR\Util\QOM\Sql2Scanner;
98
use PHPCR\Util\QOM\Sql2Generator;
109
use PHPCR\Util\QOM\Sql2ToQomQueryConverter;
1110
use PHPCR\Util\QOM\QomToSql2QueryConverter;
1211

1312
class ConvertQueriesBackAndForthTest extends \PHPCR\Test\BaseCase
1413
{
14+
/**
15+
* @var string[]
16+
*/
1517
protected $sql2Queries;
1618

19+
/**
20+
* @var \PHPCR\Query\QOM\QueryObjectModelInterface[]
21+
*/
1722
protected $qomQueries;
1823

24+
/**
25+
* @var Sql2ToQomQueryConverter
26+
*/
1927
protected $sql2Parser;
2028

29+
/**
30+
* @var QomToSql2QueryConverter
31+
*/
2132
protected $qomParser;
2233

2334
public function setUp()
@@ -31,7 +42,7 @@ public function setUp()
3142

3243
try {
3344
$this->sql2Parser = new Sql2ToQomQueryConverter($factory);
34-
} catch(\PHPCR\UnsupportedRepositoryException $e) {
45+
} catch(\PHPCR\UnsupportedRepositoryOperationException $e) {
3546
$this->markTestSkipped('Repository does not support the QOM factory');
3647
}
3748
}

0 commit comments

Comments
 (0)