Skip to content

Commit

Permalink
remove test because method is removed
Browse files Browse the repository at this point in the history
Signed-off-by: adamrtalbot <[email protected]>
  • Loading branch information
adamrtalbot committed Nov 22, 2024
1 parent 3a1cbaf commit 12965bf
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,6 @@ import spock.lang.Specification
*/
class AzBatchTaskHandlerTest extends Specification {

def 'should validate config with and without container' () {
when:
def task = Mock(TaskRun) { getName() >> 'foo' }
and:
new AzBatchTaskHandler(task: task)
.validateConfiguration()
then:
noExceptionThrown()

when:
task = Mock(TaskRun) { getName() >> 'foo'; getContainer() >> 'ubuntu' }
and:
new AzBatchTaskHandler(task: task)
.validateConfiguration()
then:
noExceptionThrown()
}

def 'should submit task' () {
given:
def builder = Mock(BashWrapperBuilder)
Expand Down

0 comments on commit 12965bf

Please sign in to comment.