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 62afcd6 commit 6ca54a8Copy full SHA for 6ca54a8
test/Ported/Issues/RavenDB_15521.ts
@@ -1,6 +1,7 @@
1
import { IDocumentStore } from "../../../src";
2
import { disposeTestDocumentStore, testContext } from "../../Utils/TestUtil";
3
import { assertThat } from "../../Utils/AssertExtensions";
4
+import { stringToReadable } from "../../../src/Utility/StreamUtil";
5
6
describe("RavenDB_15521", function () {
7
@@ -25,7 +26,7 @@ describe("RavenDB_15521", function () {
25
26
27
const attachment = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
28
- session.advanced.attachments.store(doc, "TestAttachment", attachment);
29
+ session.advanced.attachments.store(doc, "TestAttachment", stringToReadable(attachment));
30
31
await session.saveChanges();
32
0 commit comments