Skip to content

DeployedBy property is missing in Deployment #170

@mac2000

Description

@mac2000

Seems like DeployedBy property is missing somewhere in the chain for Deployment object

aka this one is green:

import { Client, DeploymentRepository } from '@octopusdeploy/api-client'

describe('repro', () => {
  it('should have DeployedBy', async () => {
    const client = await Client.create({
      instanceURL: 'https://sample.octopus.app',
      apiKey: process.env.OCTOPUS_APIKEY,
      userAgentApp: 'sample',
    })
    const deployments = new DeploymentRepository(client, 'Sample')
    const deployment = await deployments.get('Deployments-42')
    expect(deployment).toHaveProperty('DeployedBy')
    expect(deployment).toMatchObject({ DeployedBy: 'sample@example.com' })
  })
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions