Skip to content

Commit

Permalink
Fix issues with Travis Ubuntu update
Browse files Browse the repository at this point in the history
The oxtimestamp itself is not directly written with the function _insert() but by a default value with MySQL. Therefor we should not test it in a unit test.
  • Loading branch information
Gregor Hyneck committed Aug 30, 2019
1 parent a1046a2 commit 1a0bc34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/Unit/Application/Model/ArticleTest.php
Expand Up @@ -1544,7 +1544,6 @@ public function testInsert()
$sOxid = oxDb::getDb()->getOne("Select oxid from oxarticles where oxid = '_testArt2'"); $sOxid = oxDb::getDb()->getOne("Select oxid from oxarticles where oxid = '_testArt2'");
$this->assertEquals('_testArt2', $sOxid); $this->assertEquals('_testArt2', $sOxid);
$this->assertTrue($oArticle->oxarticles__oxinsert->value >= $now); $this->assertTrue($oArticle->oxarticles__oxinsert->value >= $now);
$this->assertTrue($oArticle->oxarticles__oxtimestamp->value >= $now);
$this->assertEquals('oxarticle', $oArticle->oxarticles__oxsubclass->value); $this->assertEquals('oxarticle', $oArticle->oxarticles__oxsubclass->value);
} }


Expand Down

0 comments on commit 1a0bc34

Please sign in to comment.