Skip to content

Commit

Permalink
Update to fix fake data generator process can cause business rule fai…
Browse files Browse the repository at this point in the history
…lure
  • Loading branch information
StephenOTT committed Feb 20, 2019
1 parent 9ac53c8 commit 5783cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.digitalstate.stix.faker</groupId>
<artifactId>stix-faker</artifactId>
<version>0.5.1</version>
<version>0.5.2</version>
<packaging>jar</packaging>

<name>STIX 2 Faker</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1140,9 +1140,7 @@ public class StixFakeDataGenerator {

if (mock.bools().probability(33).get()) {
builder.isHidden(true)
}

if (mock.bools().probability(33).get()) {
} else {
builder.isHidden(false)
}

Expand Down

0 comments on commit 5783cc7

Please sign in to comment.