Skip to content

Commit 093370b

Browse files
committed
Fix attribute tests
1 parent b06347f commit 093370b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/Adapter/Scopes/AttributeTests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ public function testArrayAttribute(): void
14081408
$this->fail('Failed to throw exception');
14091409
} catch (Throwable $e) {
14101410
if ($database->getAdapter()->getSupportForAttributes()) {
1411-
$this->assertEquals('Invalid document structure: Attribute "age" has invalid type. Value must be a valid integer', $e->getMessage());
1411+
$this->assertEquals('Invalid document structure: Attribute "age" has invalid type. Value must be a valid unsigned 32-bit integer between 0 and 4,294,967,295', $e->getMessage());
14121412
}
14131413
}
14141414

@@ -1419,7 +1419,7 @@ public function testArrayAttribute(): void
14191419
$this->fail('Failed to throw exception');
14201420
} catch (Throwable $e) {
14211421
if ($database->getAdapter()->getSupportForAttributes()) {
1422-
$this->assertEquals('Invalid document structure: Attribute "age" has invalid type. Value must be a valid range between 0 and 2,147,483,647', $e->getMessage());
1422+
$this->assertEquals('Invalid document structure: Attribute "age" has invalid type. Value must be a valid unsigned 32-bit integer between 0 and 4,294,967,295', $e->getMessage());
14231423
}
14241424
}
14251425

0 commit comments

Comments
 (0)