Skip to content

Commit

Permalink
use withMockedSource
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Aug 27, 2024
1 parent 165ea83 commit 8af2f3f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generators/spring-boot/generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe(`generator - ${generator}`, () => {
await helpers
.runJHipster(generator)
.withJHipsterConfig({ authenticationType: 'jwt' })
.withMockedSource()
.withMockedJHipsterGenerators({ filter: filterBasicServerGenerators });
});

Expand All @@ -39,6 +40,7 @@ describe(`generator - ${generator}`, () => {
await helpers
.runJHipster(generator)
.withJHipsterConfig({ authenticationType: 'oauth2' })
.withMockedSource()
.withMockedJHipsterGenerators({ filter: filterBasicServerGenerators });
});

Expand Down
1 change: 1 addition & 0 deletions generators/spring-data-cassandra/generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ describe(`generator - ${databaseType}`, () => {
await helpers
.runJHipster('server')
.withJHipsterConfig(sampleConfig, entities)
.withMockedSource()
.withMockedJHipsterGenerators({
except: ['jhipster:spring-data-cassandra'],
filter: filterBasicServerGenerators,
Expand Down
1 change: 1 addition & 0 deletions generators/spring-data-couchbase/generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ describe(`generator - ${databaseType}`, () => {
await helpers
.runJHipster('server')
.withJHipsterConfig(sampleConfig, entities)
.withMockedSource()
.withMockedJHipsterGenerators({
except: ['jhipster:spring-data-couchbase'],
filter: filterBasicServerGenerators,
Expand Down
1 change: 1 addition & 0 deletions generators/spring-data-elasticsearch/generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ describe('generator - elasticsearch', () => {
await helpers
.runJHipster('server')
.withJHipsterConfig(sampleConfig, entities)
.withMockedSource()
.withMockedJHipsterGenerators({
except: ['jhipster:spring-data-elasticsearch'],
filter: filterBasicServerGenerators,
Expand Down
1 change: 1 addition & 0 deletions generators/spring-data-mongodb/generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ describe(`generator - ${databaseType}`, () => {
await helpers
.runJHipster('server')
.withJHipsterConfig(sampleConfig, entities)
.withMockedSource()
.withMockedJHipsterGenerators({
except: ['jhipster:spring-data-mongodb'],
filter: filterBasicServerGenerators,
Expand Down
1 change: 1 addition & 0 deletions generators/spring-data-neo4j/generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ describe(`generator - ${databaseType}`, () => {
await helpers
.runJHipster('server')
.withJHipsterConfig(sampleConfig, entities)
.withMockedSource()
.withMockedJHipsterGenerators({
except: ['jhipster:spring-data-neo4j'],
filter: filterBasicServerGenerators,
Expand Down
1 change: 1 addition & 0 deletions generators/spring-data-relational/generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ describe(`generator - ${databaseType}`, () => {
await helpers
.runJHipster('server')
.withJHipsterConfig(sampleConfig)
.withMockedSource()
.withMockedJHipsterGenerators({
except: ['jhipster:spring-data-relational'],
filter: filterBasicServerGenerators,
Expand Down

0 comments on commit 8af2f3f

Please sign in to comment.