We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2c321 commit 96ba7d5Copy full SHA for 96ba7d5
tests/Integration/Database/ReferenceTest.php
@@ -151,6 +151,21 @@ public function setServerTimestamp(): void
151
$this->assertIsInt($value['updatedAt']);
152
}
153
154
+ /**
155
+ * @see https://github.com/kreait/firebase-php/issues/1031
156
+ */
157
+ #[Test]
158
+ public function useNonLatinCharacters(): void
159
+ {
160
+ $ref = $this->ref->getChild(__FUNCTION__);
161
+
162
+ $value = ['nested' => [['content' => 'لقد تعطل']]];
163
164
+ $ref->set($value);
165
166
+ $this->assertSame($value, $ref->getValue());
167
+ }
168
169
public static function validValues(): Iterator
170
{
171
yield 'string' => ['string', 'value'];
0 commit comments