feat: complete phase 3 career workspace
CI and Deploy / test (push) Failing after 1m6s
CI and Deploy / deploy (push) Has been skipped

This commit is contained in:
cesnimda
2026-07-30 22:19:13 +02:00
parent f8a7cf5205
commit 4cf26405f6
18 changed files with 215 additions and 20 deletions
@@ -106,6 +106,10 @@ public sealed class CareerProfileServiceTests
Contact = { FullName = "Ada Lovelace", Email = "ada@example.com", Headline = "Engineer" },
Summary = { "First", "Second" },
Interests = { "Chess" },
Awards = { "Engineering prize" },
Publications = { "Reliable systems" },
Organisations = { "ACM" },
References = { "Available on request" },
Jobs =
{
new StructuredCvJob { Title = "Senior Eng", Company = "Acme", Start = "Jan 2020", End = "Present", IsCurrent = true, Bullets = { "Built X" }, Skills = { "C#" } },
@@ -130,6 +134,10 @@ public sealed class CareerProfileServiceTests
Assert.Equal("Ada Lovelace", loaded.Contact.FullName);
Assert.Equal(new[] { "First", "Second" }, loaded.Summary);
Assert.Equal(new[] { "Chess" }, loaded.Interests);
Assert.Equal(new[] { "Engineering prize" }, loaded.Awards);
Assert.Equal(new[] { "Reliable systems" }, loaded.Publications);
Assert.Equal(new[] { "ACM" }, loaded.Organisations);
Assert.Equal(new[] { "Available on request" }, loaded.References);
Assert.Equal(2, loaded.Jobs.Count);
Assert.Equal("Senior Eng", loaded.Jobs[0].Title); // order preserved
Assert.True(loaded.Jobs[0].IsCurrent);