Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
Replace deprecated Property::newEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
thiemowmde committed Apr 2, 2015
1 parent 3359b88 commit e6ff519
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/phpunit/System/Api/ApiTestSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ protected function getQueryStore() {
}

protected function createNewProperty() {
$property = Property::newEmpty();
$property->setId( $this->propertyId );
$property->setDataTypeId( 'string' );
$property = new Property( $this->propertyId, null, 'string' );

$this->storeEntity( $property );
}
Expand Down

0 comments on commit e6ff519

Please sign in to comment.