Skip to content

Commit

Permalink
Remove test for last_updated timestamp
Browse files Browse the repository at this point in the history
It is no longer allowed to pass `date_submitted` and `last_updated` fields.
  • Loading branch information
vboctor committed Mar 4, 2018
1 parent d956d64 commit 4ca4bc8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/soap/IssueAddTest.php
Expand Up @@ -156,9 +156,6 @@ public function testCreateIssueWithRareFields() {
# $t_issue_to_add['fixed_in_version'] = 'fixed version';
# $t_issue_to_add['target_version'] = 'target version';

$t_dt = DateTime::createFromFormat( 'U', time() );
$t_issue_to_add['last_updated'] = $t_dt->format( DateTime::ISO8601 );

$t_issue_id = $this->client->mc_issue_add( $this->userName, $this->password, $t_issue_to_add );

$this->deleteAfterRun( $t_issue_id );
Expand All @@ -181,10 +178,6 @@ public function testCreateIssueWithRareFields() {
# Since versions are not defined, they are not going to be set
$this->assertFalse( isset( $t_issue->fixed_in_version ) );
$this->assertFalse( isset( $t_issue->target_version ) );

$t_read_dt = DateTime::createFromFormat( DateTime::ISO8601, $t_issue->last_updated );

$this->assertEquals( $t_dt, $t_read_dt );
}

/**
Expand Down

0 comments on commit 4ca4bc8

Please sign in to comment.