Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed busted UT #624

ogail opened this Issue Oct 12, 2012 · 1 comment


None yet
2 participants

ogail commented Oct 12, 2012

public function testCreateFromConnectionStringWithAutomaticCase()
// Setup
$expectedSubscriptionId = 'mySubscriptionId';
$expectedCertificatePath = 'C:\path_to_my_cert.pem';
$expectedEndpointUri = Resources::SERVICE_MANAGEMENT_URL;
$connectionString = "SubscriptionID=$expectedSubscriptionId;CertificatePath=$expectedCertificatePath";

    // Test
    $actual = ServiceManagementSettings::createFromConnectionString($connectionString);

    // Assert
    $this->assertEquals($expectedEndpointUri, $actual->getEndpointUri());
    $this->assertEquals($expectedCertificatePath, $actual->getCertificatePath());
    $this->assertEquals($expectedEndpointUri, $actual->getEndpointUri());

This ut is busted.

It should compare the subscription id and not the endpoint uri twice.


matt-gibbs commented Jul 29, 2014

Closing stale issues. Reactivate if it should be reconsidered.

@matt-gibbs matt-gibbs closed this Jul 29, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment