Skip to content

Commit 23a1981

Browse files
committed
make no assumptions on implementation specific defaults
1 parent 79084c3 commit 23a1981

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PhpcrUtils/CndParserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ public function testBigFile()
156156
/** @var $parsed NodeTypeDefinitionInterface */
157157
$parsed = $def['nt:file'];
158158
$this->assertEquals('nt:file', $parsed->getName());
159-
$this->assertTrue($parsed->isQueryable());
160159
$this->assertFalse($parsed->isAbstract());
161160
$this->assertFalse($parsed->hasOrderableChildNodes());
162161
$this->assertFalse($parsed->isMixin());
162+
// queryable default is implementation specific
163163
}
164164

165165
/**
@@ -185,7 +185,7 @@ protected function assertExampleCnd($res)
185185
$this->assertEquals(array('ns:ParentType1', 'ns:ParentType2'), $def->getDeclaredSuperTypeNames());
186186
$this->assertTrue($def->hasOrderableChildNodes());
187187
$this->assertTrue($def->isMixin());
188-
$this->assertTrue($def->isQueryable());
188+
// queryable default is implementation specific
189189
$this->assertFalse($def->isAbstract());
190190
$this->assertEquals(1, count($def->getPropertyDefinitionTemplates()));
191191

0 commit comments

Comments
 (0)