Skip to content

Commit

Permalink
Improve unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Feb 9, 2021
1 parent 0ab9a24 commit 2471464
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 73 deletions.
12 changes: 0 additions & 12 deletions tests/Model/Attribute/LanguageTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,4 @@ public function testSetLanguage(): void {
$obj->setLanguage($language);
$this->assertSame($language, $obj->getLanguage());
}

/**
* Tests the __construct() method.
*
* @return void
*/
public function test__construct(): void {

$obj = new TestLanguageTrait();

$this->assertNull($obj->getLanguage());
}
}
12 changes: 0 additions & 12 deletions tests/Model/Attribute/PresentTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,4 @@ public function testSetPresent(): void {
$obj->setPresent($present);
$this->assertSame($present, $obj->getPresent());
}

/**
* Tests the __construct() method.
*
* @return void
*/
public function test__construct(): void {

$obj = new TestPresentTrait();

$this->assertNull($obj->getPresent());
}
}
12 changes: 0 additions & 12 deletions tests/Model/Attribute/StringChannelTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,4 @@ public function testSetChannel(): void {
$obj->setChannel("channel");
$this->assertEquals("channel", $obj->getChannel());
}

/**
* Tests the __construct() method.
*
* @return void
*/
public function test__construct(): void {

$obj = new TestStringChannelTrait();

$this->assertNull($obj->getChannel());
}
}
13 changes: 0 additions & 13 deletions tests/Model/Attribute/StringStartTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,4 @@ public function testSetStart(): void {

$this->assertInstanceOf(DateTime::class, $obj->getStartDateTime());
}

/**
* Tests the __construct() method.
*
* @return void
*/
public function test__construct(): void {

$obj = new TestStringStartTrait();

$this->assertNull($obj->getStart());
$this->assertNull($obj->getStartDateTime());
}
}
12 changes: 0 additions & 12 deletions tests/Model/Attribute/StringSystemTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,4 @@ public function testSetSystem(): void {
$obj->setSystem("system");
$this->assertEquals("system", $obj->getSystem());
}

/**
* Tests the __construct() method.
*
* @return void
*/
public function test__construct(): void {

$obj = new TestStringSystemTrait();

$this->assertNull($obj->getSystem());
}
}
12 changes: 0 additions & 12 deletions tests/Model/Attribute/ValueTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,4 @@ public function testSetValue(): void {
$obj->setValue($value);
$this->assertSame($value, $obj->getValue());
}

/**
* Tests the __construct() method.
*
* @return void
*/
public function test__construct(): void {

$obj = new TestValueTrait();

$this->assertNull($obj->getValue());
}
}

0 comments on commit 2471464

Please sign in to comment.