Skip to content

Commit 64c1c51

Browse files
committed
Disabled scaffold compile tests
1 parent b3e3372 commit 64c1c51

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

payment-chooser/build/static/js/payment-chooser.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/test/kotlin/io/openfuture/api/component/scaffold/V1ScaffoldCompilerTests.kt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import io.openfuture.api.entity.scaffold.PropertyType.STRING
1010
import io.openfuture.api.exception.CompileException
1111
import org.apache.commons.io.IOUtils
1212
import org.junit.Before
13+
import org.junit.Ignore
1314
import org.junit.Test
1415
import org.mockito.BDDMockito.given
1516
import org.mockito.Mock
@@ -28,6 +29,7 @@ internal class V1ScaffoldCompilerTests : UnitTest() {
2829
ethereumScaffoldCompiler = V1EthereumScaffoldCompiler(templateProcessor, properties)
2930
}
3031

32+
@Ignore
3133
@Test
3234
fun compileTest() {
3335
val parameters = createParameters()
@@ -179,10 +181,11 @@ internal class V1ScaffoldCompilerTests : UnitTest() {
179181
);
180182
}
181183
}""")
182-
//todo
183-
//ethereumScaffoldCompiler.compile(createScaffoldPropertyDtos())
184+
185+
ethereumScaffoldCompiler.compile(createScaffoldPropertyDtos())
184186
}
185187

188+
@Ignore
186189
@Test(expected = CompileException::class)
187190
fun compileWhenIncorrectScaffoldShouldThrowExceptionTest() {
188191
val parameters = createParameters()
@@ -203,8 +206,8 @@ internal class V1ScaffoldCompilerTests : UnitTest() {
203206
}
204207
205208
}""")
206-
//todo
207-
//ethereumScaffoldCompiler.compile(createScaffoldPropertyDtos())
209+
210+
ethereumScaffoldCompiler.compile(createScaffoldPropertyDtos())
208211
}
209212

210213
private fun createScaffoldPropertyDtos(): List<EthereumScaffoldPropertyDto> = listOf(EthereumScaffoldPropertyDto("value", STRING, "defaultValue"))

0 commit comments

Comments
 (0)