Skip to content

Commit

Permalink
Removing Unnecessary Test
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjustino committed Nov 17, 2021
1 parent bced509 commit 5e0b059
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/tests/C4Sharp.UnitTests/Diagrams/DiagramTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,5 @@ public void TestWhenCreateWithDefaultAttributes()
diagram.Structures.Should().BeNullOrEmpty();
diagram.Relationships.Should().BeNullOrEmpty();
}

[Fact]
public void TesteWithoutRelationships()
{
var diagram = ComponentDiagramBuilder.Build() with
{
Relationships = Array.Empty<Relationship>()
};

Assert.Throws<PlantumlException>(() => diagram.ToPumlString()).Should().BeNull();
}
}
}

0 comments on commit 5e0b059

Please sign in to comment.