Closed israeleriston closed 8 years ago
Seems like you have some entities. Can you provide the entity config as well? Use yo jhipster:info
to get all the details.
Also what is the packaging command you are using
Yes you have test errors in your code:
TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/historico-maconico/historico-maconico-detail.controller.spec.js (line 9)
Are you sure this is caused by JHipster? Please send us your entities config.
all configuration entity available use yo jhipster:info CarteiraTrabalho.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "profissao",
"otherEntityName": "profissao",
"otherEntityField": "id"
},
{
"relationshipType": "many-to-one",
"relationshipName": "localtrabalho",
"otherEntityName": "pessoaJuridica",
"otherEntityField": "id"
},
{
"relationshipType": "many-to-one",
"relationshipName": "cargo",
"otherEntityName": "cargo",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "dataInicial",
"fieldType": "ZonedDateTime"
},
{
"fieldName": "dataFinal",
"fieldType": "ZonedDateTime"
}
],
"changelogDate": "20160911004237",
"entityTableName": "carteira_trabalho",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Cidade.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "estado",
"otherEntityName": "estado",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "nome",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 20
}
],
"changelogDate": "20160911004219",
"entityTableName": "cidade",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Conjuge.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "one-to-one",
"relationshipName": "pessoafisica",
"otherEntityName": "pessoaFisica",
"otherEntityField": "id",
"ownerSide": true,
"otherEntityRelationshipName": "conjuge"
},
{
"relationshipType": "many-to-one",
"relationshipName": "macon",
"otherEntityName": "macon",
"otherEntityField": "id"
}
],
"fields": [],
"changelogDate": "20160911004234",
"entityTableName": "conjuge",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
DocumentoPessoal.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "pessoafisica",
"otherEntityName": "pessoaFisica",
"otherEntityField": "id"
}
],
"fields": [],
"changelogDate": "20160911004228",
"entityTableName": "documento_pessoal",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Endereco.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "bairro",
"otherEntityName": "bairro",
"otherEntityField": "id"
},
{
"relationshipName": "pessoa",
"otherEntityName": "pessoa",
"relationshipType": "many-to-one",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "cep",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 20
},
{
"fieldName": "logradouro",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "numero",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 20
},
{
"fieldName": "complemento",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 20
},
{
"fieldName": "tipoEndereco",
"fieldType": "TipoEndereco",
"fieldValues": "RESIDENCIAL,COMERCIAL,COBRANCA,CORRESPONDENCIA,RURAL,DOMICILIO_FISCAL,OUTROS"
}
],
"changelogDate": "20160911004221",
"entityTableName": "endereco",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Estado.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "pais",
"otherEntityName": "pais",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "nome",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 20
}
],
"changelogDate": "20160911004218",
"entityTableName": "estado",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Filho.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "pessoafisica",
"otherEntityName": "pessoaFisica",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "nome",
"fieldType": "String",
"fieldValidateRules": [
"required",
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "dataNascimento",
"fieldType": "ZonedDateTime"
},
{
"fieldName": "sexo",
"fieldType": "Sexo",
"fieldValues": "MASCULINO,FEMININO",
"fieldValidateRules": [
"required"
]
},
{
"fieldName": "matricula",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 20
},
{
"fieldName": "tipoAssociacao",
"fieldType": "TipoAssociacao",
"fieldValues": "DEMOLEY,ABELHINHA,LOWTONS,ESCUDEIRO,FILHASDEJO"
}
],
"changelogDate": "20160911004226",
"entityTableName": "filho",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
HistoricoCargo.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "cargo",
"otherEntityName": "cargo",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "tipoCargoExercido",
"fieldType": "TipoCargoExercido",
"fieldValues": "GRANDE_LOJA,LOJA",
"fieldValidateRules": [
"required"
]
},
{
"fieldName": "dataInicial",
"fieldType": "ZonedDateTime"
},
{
"fieldName": "dataFinal",
"fieldType": "ZonedDateTime"
}
],
"changelogDate": "20160911004238",
"entityTableName": "historico_cargo",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
HistoricoMacon.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "pessoafisica",
"otherEntityName": "pessoaFisica",
"otherEntityField": "id"
},
{
"relationshipType": "many-to-one",
"relationshipName": "loja",
"otherEntityName": "pessoaJuridica",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "dataIniciacao",
"fieldType": "ZonedDateTime"
},
{
"fieldName": "dataElevacao",
"fieldType": "ZonedDateTime"
},
{
"fieldName": "dataExaltacao",
"fieldType": "ZonedDateTime"
},
{
"fieldName": "dataInstalacao",
"fieldType": "ZonedDateTime"
},
{
"fieldName": "observacao",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 255
}
],
"changelogDate": "20160911004239",
"entityTableName": "historico_macon",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
HistoricoMaconico.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "historicomacon",
"otherEntityName": "macon",
"otherEntityField": "id"
}
],
"fields": [],
"changelogDate": "20160911004231",
"entityTableName": "historico_maconico",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
HistoricoMaconLoja.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "loja",
"otherEntityName": "pessoaJuridica",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "dataMudanca",
"fieldType": "ZonedDateTime"
}
],
"changelogDate": "20160911004233",
"entityTableName": "historico_macon_loja",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
HistoricoObreiro.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "pessoafisica",
"otherEntityName": "pessoaFisica",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "descriminacao",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "dataHistorico",
"fieldType": "ZonedDateTime"
}
],
"changelogDate": "20160911004232",
"entityTableName": "historico_obreiro",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Macon.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "one-to-one",
"relationshipName": "pessoafisica",
"otherEntityName": "pessoaFisica",
"otherEntityField": "id",
"ownerSide": true,
"otherEntityRelationshipName": "macon"
}
],
"fields": [
{
"fieldName": "identificacao",
"fieldType": "Integer",
"fieldValidateRules": [
"required"
]
},
{
"fieldName": "situacaoCadastro",
"fieldType": "SituacaoCadastro",
"fieldValues": "ATIVO,INATIVO",
"fieldValidateRules": [
"required"
]
}
],
"changelogDate": "20160911004230",
"entityTableName": "macon",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Nacionalidade.json
{
"fluentMethods": true,
"relationships": [],
"fields": [
{
"fieldName": "descricao",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 20
},
{
"fieldName": "codigo",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 20
}
],
"changelogDate": "20160911004224",
"entityTableName": "nacionalidade",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Pais.json
{
"fluentMethods": true,
"relationships": [],
"fields": [
{
"fieldName": "nome",
"fieldType": "String",
"fieldValidateRules": [
"required",
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "sigla",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "codigo",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
}
],
"changelogDate": "20160911004216",
"entityTableName": "pais",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Passaporte.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "pais",
"otherEntityName": "pais",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "numero",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 20
},
{
"fieldName": "dataExpedicao",
"fieldType": "ZonedDateTime"
},
{
"fieldName": "validade",
"fieldType": "ZonedDateTime"
}
],
"changelogDate": "20160911004217",
"entityTableName": "passaporte",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Pessoa.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "one-to-many",
"relationshipName": "endereco",
"otherEntityName": "endereco",
"otherEntityRelationshipName": "pessoa"
},
{
"relationshipType": "one-to-many",
"relationshipName": "telefone",
"otherEntityName": "telefone",
"otherEntityRelationshipName": "pessoa"
}
],
"fields": [
{
"fieldName": "email",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
}
],
"changelogDate": "20160911004223",
"entityTableName": "pessoa",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
PessoaFisica.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "many-to-one",
"relationshipName": "naturalidade",
"otherEntityName": "cidade",
"otherEntityField": "id"
},
{
"relationshipType": "many-to-one",
"relationshipName": "nacionalidade",
"otherEntityName": "nacionalidade",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "cpf",
"fieldType": "String",
"fieldValidateRules": [
"required",
"maxlength"
],
"fieldValidateRulesMaxlength": 20
},
{
"fieldName": "dataNascimento",
"fieldType": "ZonedDateTime",
"fieldValidateRules": [
"required"
]
},
{
"fieldName": "pai",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "mae",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "sexo",
"fieldType": "Sexo",
"fieldValues": "MASCULINO,FEMININO",
"fieldValidateRules": [
"required"
]
},
{
"fieldName": "racaCor",
"fieldType": "RacaCor",
"fieldValues": "INDIGENA,BRANCA,NEGRO,AMARELA,PARDA,NAO_INFORMADA"
},
{
"fieldName": "estadoCivil",
"fieldType": "EstadoCivil",
"fieldValues": "SOLTEIRO,CASADO,SEPARADO,DIVORCIADO,VIUVO,UNIAO_ESTAVEL,OUTROS"
},
{
"fieldName": "tipoSanguineo",
"fieldType": "TipoSanguineo",
"fieldValues": "AP,BP,AN,BN,ABP,ABN,OP,ON,NAO_INFORMADO"
},
{
"fieldName": "nome",
"fieldType": "String",
"fieldValidateRules": [
"required",
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "aposentado",
"fieldType": "Boolean"
},
{
"fieldName": "doadorOrgao",
"fieldType": "Boolean"
}
],
"changelogDate": "20160911004225",
"entityTableName": "pessoa_fisica",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
PessoaJuridica.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipType": "one-to-one",
"relationshipName": "superior",
"otherEntityName": "pessoaJuridica",
"otherEntityField": "id",
"ownerSide": true,
"otherEntityRelationshipName": "pessoaJuridica"
}
],
"fields": [
{
"fieldName": "nomeFantasia",
"fieldType": "String",
"fieldValidateRules": [
"required",
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "razaoSocial",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "cnpj",
"fieldType": "String",
"fieldValidateRules": [
"required",
"maxlength"
],
"fieldValidateRulesMaxlength": 20
},
{
"fieldName": "inscricaoEstadual",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
},
{
"fieldName": "tipoInstituicao",
"fieldType": "TipoInstituicao",
"fieldValues": "POTENCIA,JURIDICA,LOJA",
"fieldValidateRules": [
"required"
]
}
],
"changelogDate": "20160911004229",
"entityTableName": "pessoa_juridica",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
Profissao.json
{
"fluentMethods": true,
"relationships": [],
"fields": [
{
"fieldName": "nome",
"fieldType": "String",
"fieldValidateRules": [
"required",
"maxlength"
],
"fieldValidateRulesMaxlength": 70
}
],
"changelogDate": "20160911004235",
"entityTableName": "profissao",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
RG.json
{
"fluentMethods": true,
"relationships": [],
"fields": [
{
"fieldName": "numero",
"fieldType": "String",
"fieldValidateRules": []
},
{
"fieldName": "orgaoExpeditor",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": "70"
},
{
"fieldName": "dataExpedicao",
"fieldType": "ZonedDateTime"
}
],
"changelogDate": "20160911020830",
"dto": "no",
"service": "serviceClass",
"entityTableName": "rg",
"pagination": "pagination"
}
Telefone.json
{
"fluentMethods": true,
"relationships": [
{
"relationshipName": "pessoa",
"otherEntityName": "pessoa",
"relationshipType": "many-to-one",
"otherEntityField": "id"
}
],
"fields": [
{
"fieldName": "tipoTelefone",
"fieldType": "TipoTelefone",
"fieldValues": "RESIDENCIAL,FAX,FIXO,CELULAR,OUTROS,COMERCIAL",
"fieldValidateRules": [
"required"
]
},
{
"fieldName": "telefone",
"fieldType": "String",
"fieldValidateRules": [
"required",
"maxlength"
],
"fieldValidateRulesMaxlength": 20
},
{
"fieldName": "principal",
"fieldType": "Boolean"
},
{
"fieldName": "contato",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": 70
}
],
"changelogDate": "20160911004222",
"entityTableName": "telefone",
"dto": "no",
"pagination": "pagination",
"service": "serviceClass"
}
TituloEleitor.json
{
"fluentMethods": true,
"relationships": [],
"fields": [
{
"fieldName": "numero",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": "70"
},
{
"fieldName": "sessao",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": "20"
},
{
"fieldName": "zona",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
"fieldValidateRulesMaxlength": "20"
},
{
"fieldName": "dataEmissao",
"fieldType": "ZonedDateTime"
}
],
"changelogDate": "20160911021550",
"dto": "no",
"service": "serviceClass",
"entityTableName": "titulo_eleitor",
"pagination": "pagination"
}
java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
git version 1.9.1
node: v4.5.0
npm: 3.10.7
gulp: [02:44:10] CLI version 3.9.1 [02:44:10] Local version 3.9.1
yeoman: 1.8.5
does anyone have any idea what this problem? I sometimes think is missing some library to install, but all libraries is defined in the project page, were installed, but the karma.js library is not installed on my machine, I apologize, it is the first time I use jhipster
If you run a gulp test
this will run Karma and you will get your error.
The message says:
TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/historico-maconico/historico-maconico-detail.controller.spec.js (line 9)
Can you have a look at what is there? Is it generated by JHipster?
Yes, it is generated by jhipster, fathered yesterday another project with jhipster and generates these files the line that this problem presented is the line createController; 'use strict';
describe ('Controller Tests', function () {
describe ('HistoricoMaconico Management Controller Detail', function () {
var $ scope, $ rootScope;
var MockEntity, MockPreviousState, MockHistoricoMaconico, MockMacon;
var createController;
that is make that call var locals = { '$ Scope': $ scope, '$ RootScope': $ rootScope, 'Entity': MockEntity, 'PreviousState': MockPreviousState, 'HistoricoMaconico': MockHistoricoMaconico, "Macon": MockMacon }; createController = function () { $ Injector.get ('$ controller') ("HistoricoMaconicoDetailController" locals); }; }));
julian, I noticed that my project when I run the build output to generate the .war my project does not run karma.js when will run karma.js tests, I'm finding that to be the problem, because when it will run the tests, karma does not inject and can not perform the tests
I'm sorry but there is something missing in your configuration: CarteiraTrabalho
is having a relationship to an entity called Cargo
, for which I have no configuration.
So I can't compile (and test) your project.
this configuration CarteiraTrabalho
{ "fluentMethods": true, "relationships": [ { "relationshipType": "many-to-one", "relationshipName": "profissao", "otherEntityName": "profissao", "otherEntityField": "id" }, { "relationshipType": "many-to-one", "relationshipName": "localtrabalho", "otherEntityName": "pessoaJuridica", "otherEntityField": "id" }, { "relationshipType": "many-to-one", "relationshipName": "cargo", "otherEntityName": "cargo", "otherEntityField": "id" } ], "fields": [ { "fieldName": "dataInicial", "fieldType": "ZonedDateTime" }, { "fieldName": "dataFinal", "fieldType": "ZonedDateTime" } ], "changelogDate": "20160911004237", "entityTableName": "carteira_trabalho", "dto": "no", "pagination": "pagination", "service": "serviceClass" }
Configuration Cargo
{ "fluentMethods": true, "relationships": [], "fields": [ { "fieldName": "descricao", "fieldType": "String", "fieldValidateRules": [ "required", "maxlength" ], "fieldValidateRulesMaxlength": 70 }, { "fieldName": "tipoCargo", "fieldType": "TipoCargo", "fieldValues": "MACONICO,PROFISSIONAL", "fieldValidateRules": [ "required" ] } ], "changelogDate": "20160911004236", "entityTableName": "cargo", "dto": "no", "pagination": "pagination", "service": "serviceClass" }
Now there's a class called Bairro
missing...
The output of yo jhipster command: info is great so had bodies that were not sent to you. this configuration Bairro.json
{ "fluentMethods": true, "relationships": [ { "relationshipType": "many-to-one", "relationshipName": "cidade", "otherEntityName": "cidade", "otherEntityField": "id" } ], "fields": [ { "fieldName": "nome", "fieldType": "String", "fieldValidateRules": [ "maxlength" ], "fieldValidateRulesMaxlength": 20 } ], "changelogDate": "20160911004220", "entityTableName": "bairro", "dto": "no", "pagination": "pagination", "service": "serviceClass" }
OK I got an error.
Not 100% sure it is your error, because gulp test
doesn't give me the same output, but you definitely have an error when generating, which makes it impossible for gulp test
to run.
Julian, all dependencies to be installed are those that are described in installation jhipster?
is there any recommendation for which versions use to bower, gulp, node, npm, you know, can be version
Yes other issues could the versions, but if you are on the latest version of everything that should be OK
I have done tests using node 4 and 6
Overview of the issue
Motivation for or Use Case
to try to put the application into production, is presenting this error, and I am using the instructions redme
Reproduce the error
the problem is always when I generate the production .war scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/historico-maconico/historico-maconico-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/historico-maconico/historico-maconico-detail.controller.spec.js:9:2159 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 49 of 62 (49 FAILED) (0 secs / 0.889 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests HistoricoObreiro Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/historico-obreiro/historico-obreiro-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests HistoricoObreiro Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/historico-obreiro/historico-obreiro-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/historico-obreiro/historico-obreiro-detail.controller.spec.js:9:2185 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 50 of 62 (50 FAILED) (0 secs / 0.9 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Macon Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/macon/macon-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Macon Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/macon/macon-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/macon/macon-detail.controller.spec.js:9:2086 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 51 of 62 (51 FAILED) (0 secs / 0.912 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Nacionalidade Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/nacionalidade/nacionalidade-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Nacionalidade Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/nacionalidade/nacionalidade-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/nacionalidade/nacionalidade-detail.controller.spec.js:9:2015 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 52 of 62 (52 FAILED) (0 secs / 0.928 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Pais Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/pais/pais-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Pais Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/pais/pais-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/pais/pais-detail.controller.spec.js:9:1934 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 53 of 62 (53 FAILED) (0 secs / 0.937 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Passaporte Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/passaporte/passaporte-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Passaporte Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/passaporte/passaporte-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/passaporte/passaporte-detail.controller.spec.js:9:2091 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 54 of 62 (54 FAILED) (0 secs / 0.946 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests PessoaFisica Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/pessoa-fisica/pessoa-fisica-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests PessoaFisica Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/pessoa-fisica/pessoa-fisica-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/pessoa-fisica/pessoa-fisica-detail.controller.spec.js:9:2267 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 55 of 62 (55 FAILED) (0 secs / 0.955 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests PessoaJuridica Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/pessoa-juridica/pessoa-juridica-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests PessoaJuridica Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/pessoa-juridica/pessoa-juridica-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/pessoa-juridica/pessoa-juridica-detail.controller.spec.js:9:2024 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 56 of 62 (56 FAILED) (0 secs / 0.965 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Pessoa Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/pessoa/pessoa-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Pessoa Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/pessoa/pessoa-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/pessoa/pessoa-detail.controller.spec.js:9:2198 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 57 of 62 (57 FAILED) (0 secs / 0.98 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Profissao Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/profissao/profissao-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Profissao Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/profissao/profissao-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/profissao/profissao-detail.controller.spec.js:9:1979 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 58 of 62 (58 FAILED) (0 secs / 0.988 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests RG Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/r-g/r-g-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests RG Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/r-g/r-g-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/r-g/r-g-detail.controller.spec.js:9:1916 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 59 of 62 (59 FAILED) (0 secs / 0.997 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Telefone Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/telefone/telefone-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests Telefone Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/telefone/telefone-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/telefone/telefone-detail.controller.spec.js:9:2083 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 60 of 62 (60 FAILED) (0 secs / 1.005 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests TituloEleitor Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/titulo-eleitor/titulo-eleitor-detail.controller.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests TituloEleitor Management Detail Controller Root Scope Listening Unregisters root scope listener upon scope destruction FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] TypeError: undefined is not a function (evaluating 'createController()') in src/test/javascript/spec/app/entities/titulo-eleitor/titulo-eleitor-detail.controller.spec.js (line 9) [INFO] src/test/javascript/spec/app/entities/titulo-eleitor/titulo-eleitor-detail.controller.spec.js:9:2015 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 61 of 62 (61 FAILED) (0 secs / 1.027 secs) [INFO] PhantomJS 2.1.1 (Linux 0.0.0) Service Tests Auth should call backend on logout then call authServerProvider.logout FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] inject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451 [INFO] mockApiAccountCall@src/test/javascript/spec/helpers/httpBackend.js:9:113 [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] inject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451 [INFO] mockScriptsCalls@src/test/javascript/spec/helpers/httpBackend.js:9:644 [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] Error: spyOn could not find an object to spy upon for logout() in node_modules/jasmine-core/lib/jasmine-core/jasmine.js (line 9) [INFO] src/test/javascript/spec/app/services/auth/auth.services.spec.js:9:1917 [INFO] TypeError: undefined is not an object (evaluating '$httpBackend.verifyNoOutstandingExpectation') in src/test/javascript/spec/app/services/auth/auth.services.spec.js (line 9) PhantomJS 2.1.1 (Linux 0.0.0) Service Tests Auth should call backend on logout then call authServerProvider.logout FAILED [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] inject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451 [INFO] mockApiAccountCall@src/test/javascript/spec/helpers/httpBackend.js:9:113 [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] inject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451 [INFO] mockScriptsCalls@src/test/javascript/spec/helpers/httpBackend.js:9:644 [INFO] src/main/webapp/bower_components/angular/angular.js:9:139670 [INFO] forEach@src/main/webapp/bower_components/angular/angular.js:9:7145 [INFO] loadModules@src/main/webapp/bower_components/angular/angular.js:9:136881 [INFO] createInjector@src/main/webapp/bower_components/angular/angular.js:9:132287 [INFO] workFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942 [INFO] Error: spyOn could not find an object to spy upon for logout() in node_modules/jasmine-core/lib/jasmine-core/jasmine.js (line 9) [INFO] src/test/javascript/spec/app/services/auth/auth.services.spec.js:9:1917 [INFO] TypeError: undefined is not an object (evaluating '$httpBackend.verifyNoOutstandingExpectation') in src/test/javascript/spec/app/services/auth/auth.services.spec.js (line 9) [INFO] src/test/javascript/spec/app/services/auth/auth.services.spec.js:9:1596 [INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 62 of 62 (62 FAILED) (0 secs / 1.067 secs) PhantomJS 2.1.1 (Linux 0.0.0): Executed 62 of 62 (62 FAILED) ERROR (2.966 secs / 1.067 secs) [INFO] [17:20:27] 'test' errored after 12 s [INFO] [17:20:27] Error: 1 [INFO] at formatError (/home/israeleriston/projeto/gleac-angular-novo/gleac-angularjs/node_modules/gulp/bin/gulp.js:169:10) [INFO] at Gulp. (/home/israeleriston/projeto/gleac-angular-novo/gleac-angularjs/node_modules/gulp/bin/gulp.js:195:15)
[INFO] at emitOne (events.js:77:13)
[INFO] at Gulp.emit (events.js:169:7)
[INFO] at Gulp.Orchestrator._emitTaskDone (/home/israeleriston/projeto/gleac-angular-novo/gleac-angularjs/node_modules/orchestrator/index.js:264:8)
[INFO] at /home/israeleriston/projeto/gleac-angular-novo/gleac-angularjs/node_modules/orchestrator/index.js:275:23
[INFO] at finish (/home/israeleriston/projeto/gleac-angular-novo/gleac-angularjs/node_modules/orchestrator/lib/runTask.js:21:8)
[INFO] at cb (/home/israeleriston/projeto/gleac-angular-novo/gleac-angularjs/node_modules/orchestrator/lib/runTask.js:29:3)
[INFO] at removeAllListeners (/home/israeleriston/projeto/gleac-angular-novo/gleac-angularjs/node_modules/karma/lib/server.js:379:7)
[INFO] at Server. (/home/israeleriston/projeto/gleac-angular-novo/gleac-angularjs/node_modules/karma/lib/server.js:390:9)
[INFO] at Server.g (events.js:260:16)
[INFO] at emitNone (events.js:72:20)
[INFO] at Server.emit (events.js:166:7)
[INFO] at emitCloseNT (net.js:1537:8)
[INFO] at nextTickCallbackWith1Arg (node.js:431:9)
[INFO] at process._tickCallback (node.js:353:17)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:43 min
[INFO] Finished at: 2016-09-20T17:20:27-05:00
[INFO] Final Memory: 67M/772M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:gulp (gulp test) on project gleac: Failed to run task: 'gulp.js test --no-notification' failed. (error code 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
Related issues
Suggest a Fix
JHipster Version(s)
version jhipster 3.6.1
JHipster configuration, a
.yo-rc.json
file generated in the root folder{ "generator-jhipster": { "jhipsterVersion": "3.6.1", "baseName": "gleac", "packageName": "br.com.gleac", "packageFolder": "br/com/gleac", "serverPort": "8080", "authenticationType": "oauth2", "hibernateCache": "ehcache", "clusteredHttpSession": "no", "websocket": "spring-websocket", "databaseType": "sql", "devDatabaseType": "postgresql", "prodDatabaseType": "postgresql", "searchEngine": "elasticsearch", "buildTool": "maven", "useSass": false, "applicationType": "monolith", "testFrameworks": [ "gatling" ], "jhiPrefix": "jhi", "enableTranslation": false } }
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
i using linux mint