Skip to content

Commit

Permalink
Adequado testes do módulo de controle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepenteado committed Apr 15, 2024
1 parent dec64dc commit 7dfa5fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ private Sistema getSistema(String id) {
Sistema sistema = new Sistema();
sistema.setId(id);
sistema.setDescricao("Descrição do sistema " + id);
sistema.setUrlEntrada("http://localhost");
return sistema;
}

Expand Down
9 changes: 6 additions & 3 deletions controle/src/test/resources/datasets/sistema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
authorization_grant_types="XXXX"
scopes="XXXX"
client_settings="XXXX"
token_settings="XXXX" />
token_settings="XXXX"
url_entrada="http://localhost" />
<oauth2_registered_client
id="Sistema02"
client_id="ID02"
Expand All @@ -19,7 +20,8 @@
authorization_grant_types="XXXX"
scopes="XXXX"
client_settings="XXXX"
token_settings="XXXX" />
token_settings="XXXX"
url_entrada="http://localhost" />
<oauth2_registered_client
id="Sistema03"
client_id="ID03"
Expand All @@ -29,7 +31,8 @@
authorization_grant_types="XXXX"
scopes="XXXX"
client_settings="XXXX"
token_settings="XXXX" />
token_settings="XXXX"
url_entrada="http://localhost" />

<perfil_sistema
authority="ROLE_Sistema01_A"
Expand Down
3 changes: 2 additions & 1 deletion controle/src/test/resources/datasets/usuario.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
authorization_grant_types="XXXX"
scopes="XXXX"
client_settings="XXXX"
token_settings="XXXX" />
token_settings="XXXX"
url_entrada="http://localhost" />

<users
username="teste01"
Expand Down

0 comments on commit 7dfa5fd

Please sign in to comment.