Skip to content

feat/seeder-dados-testes: adição de classe que popula o banco para realizarmos testes. - #6

Merged
DaviMoreira27 merged 2 commits into
mainfrom
feature/seeder-dados-teste
Nov 22, 2026
Merged

DaviMoreira27 merged 2 commits into
mainfrom
feature/seeder-dados-teste

feat/seeder-dados-testes: ajustes properties.

639ea7e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 22, 2026 in 21s

Annotations

Check failure on line 45 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Jardim Glória" 3 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkd&open=AaIDXefXJwCs2b2gpmkd&pullRequest=6

Check failure on line 54 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "HOSTEL" 3 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkW&open=AaIDXefXJwCs2b2gpmkW&pullRequest=6

Check failure on line 34 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "RESORT" 8 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkb&open=AaIDXefXJwCs2b2gpmkb&pullRequest=6

Check failure on line 46 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "POUSADA" 9 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkY&open=AaIDXefXJwCs2b2gpmkY&pullRequest=6

Check failure on line 39 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Centro" 6 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkX&open=AaIDXefXJwCs2b2gpmkX&pullRequest=6

Check failure on line 36 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Parque das Fontes" 4 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkc&open=AaIDXefXJwCs2b2gpmkc&pullRequest=6

Check failure on line 142 in src/main/java/OTO/demo/PopuladorDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "CONSOLIDADA" 4 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXedeJwCs2b2gpmkQ&open=AaIDXedeJwCs2b2gpmkQ&pullRequest=6

Check warning on line 130 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "k" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkg&open=AaIDXefXJwCs2b2gpmkg&pullRequest=6

Check failure on line 34 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Jardim das Termas" 3 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkT&open=AaIDXefXJwCs2b2gpmkT&pullRequest=6

Check failure on line 34 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "REGULAR" 23 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmka&open=AaIDXefXJwCs2b2gpmka&pullRequest=6

Check failure on line 38 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Jardim Europa" 3 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkS&open=AaIDXefXJwCs2b2gpmkS&pullRequest=6

Check warning on line 131 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "dia" on a separate line.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkh&open=AaIDXefXJwCs2b2gpmkh&pullRequest=6

Check failure on line 39 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "HOTEL" 10 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkV&open=AaIDXefXJwCs2b2gpmkV&pullRequest=6

Check warning on line 129 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "g" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkf&open=AaIDXefXJwCs2b2gpmkf&pullRequest=6

Check failure on line 43 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Vila Santa Rosa" 3 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkU&open=AaIDXefXJwCs2b2gpmkU&pullRequest=6

Check failure on line 52 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "HOTEL_FAZENDA" 3 times.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkZ&open=AaIDXefXJwCs2b2gpmkZ&pullRequest=6

Check failure on line 40 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use already-defined constant 'ESTABELECIMENTO_AMPLIADO' instead of duplicating its value here.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmkR&open=AaIDXefXJwCs2b2gpmkR&pullRequest=6

Check warning on line 128 in src/main/java/OTO/demo/DadosDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "b" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project&issues=AaIDXefXJwCs2b2gpmke&open=AaIDXefXJwCs2b2gpmke&pullRequest=6