Skip to content
Permalink
Browse files

Fix issues with Travis Ubuntu update

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...
gregorhyneck committed Aug 30, 2019
1 parent a1046a2 commit 1a0bc340c8d0373f618494008e07a2b9390b54e2
Showing with 0 additions and 1 deletion.
  1. +0 −1 tests/Unit/Application/Model/ArticleTest.php
@@ -1544,7 +1544,6 @@ public function testInsert()
$sOxid = oxDb::getDb()->getOne("Select oxid from oxarticles where oxid = '_testArt2'");
$this->assertEquals('_testArt2', $sOxid);
$this->assertTrue($oArticle->oxarticles__oxinsert->value >= $now);
$this->assertTrue($oArticle->oxarticles__oxtimestamp->value >= $now);
$this->assertEquals('oxarticle', $oArticle->oxarticles__oxsubclass->value);
}

0 comments on commit 1a0bc34

Please sign in to comment.
You can’t perform that action at this time.