Skip to content

Commit

Permalink
don't throw error on publish
Browse files Browse the repository at this point in the history
Not sure why we did this before
  • Loading branch information
drernie committed Dec 3, 2024
1 parent f380e04 commit 50aca4e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,23 +343,23 @@ class QuiltProductTest extends QuiltSpecification {
end_meta.a == 'b'
}

void 'should throw error on publish'() {
void 'should not throw error on publish'() {
given:
QuiltProduct product = makeProduct()

when:
product.publish()

then:
thrown(RuntimeException)
true
}

void 'should throw error if session.isSuccess'() {
void 'should not throw error if session.isSuccess'() {
when:
makeProduct('', true)

then:
thrown(RuntimeException)
true
}

}

0 comments on commit 50aca4e

Please sign in to comment.