Make publish to docker settings properties required (#19898)

* Make publish to docker settings properties required

* move
This commit is contained in:
Charles Gagnon
2022-06-30 16:21:53 -07:00
committed by GitHub
parent 9fbd3b3864
commit dc006be73e
5 changed files with 35 additions and 35 deletions

View File

@@ -72,6 +72,11 @@ describe('deploy service', function (): void {
it('Should deploy a database to docker container successfully', async function (): Promise<void> {
const testContext = createContext();
const deployProfile: IPublishToDockerSettings = {
sqlProjectPublishSettings: {
databaseName: 'dbName',
serverName: 'serverName',
connectionUri: 'connectionUri'
},
dockerSettings: {
dbName: 'test',
password: 'PLACEHOLDER',
@@ -102,6 +107,11 @@ describe('deploy service', function (): void {
it('Should fail the deploy if docker is not running', async function (): Promise<void> {
const testContext = createContext();
const deployProfile: IPublishToDockerSettings = {
sqlProjectPublishSettings: {
databaseName: 'dbName',
serverName: 'serverName',
connectionUri: 'connectionUri'
},
dockerSettings: {
dbName: 'test',
password: 'PLACEHOLDER',