Error on running Grails Unit Test - version 3.3.5

0

No GORM implementations configured. Ensure GORM has been initialized correctly.

Code above:

package br.com .promotion.selection.service

import grails.testing.services.ServiceUnitTest import spock.lang.Specification

import br.com .community.select.service.FavoriteService

class FavoriteServiceSpec extends Specification implements ServiceUnitTest {

void "salvar instancia"(){
    expect: 
    service.save([usuarioId: 2, empresaId: 489]) != null
}

}

    
asked by anonymous 01.08.2018 / 19:49

0 answers