Skip to content

Commit

Permalink
fix test failing due to no complex form types existing
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Nov 25, 2024
1 parent 3bc17fc commit a253a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/FwLite/FwLiteProjectSync.Tests/EntrySyncTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ public async Task CanChangeComplexFormViaSync_ComplexForms()
[Fact]
public async Task CanChangeComplexFormTypeViaSync()
{
var complexFormType = await _fixture.CrdtApi.CreateComplexFormType(new() { Name = new() { { "en", "complexFormType" } } });
var entry = await _fixture.CrdtApi.CreateEntry(new() { LexemeForm = { { "en", "complexForm1" } } });
var complexFormType = await _fixture.CrdtApi.GetComplexFormTypes().FirstAsync();
var after = (Entry) entry.Copy();
after.ComplexFormTypes = [complexFormType];
await EntrySync.Sync(after, entry, _fixture.CrdtApi);
Expand Down

0 comments on commit a253a8d

Please sign in to comment.