Skip to content

Commit

Permalink
Fix | #87 | @YongsHub | CakeShop Fixture 생성 필드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
YongsHub committed Jun 15, 2024
1 parent 0d068a5 commit e3548c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BusinessInformationTest extends DomainTest {

private CakeShop getCakeShopFixture() {
return getConstructorMonkey().giveMeBuilder(CakeShop.class)
.set("shopName", Arbitraries.strings().withCharRange('a', 'z').ofMaxLength(30))
.set("shopName", Arbitraries.strings().withCharRange('a', 'z').ofMinLength(1).ofMaxLength(30))
.set("location", supplyPointBy(Arbitraries.doubles().sample(), Arbitraries.doubles().sample()))
.sample();
}
Expand Down

0 comments on commit e3548c7

Please sign in to comment.