OSDN Git Service
(root)
/
invent
/
invent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e86136c
)
Исправлен тест модели типов.
author
Dmitry Dobryshin
<dimkainc@mail.ru>
Tue, 24 Nov 2020 03:59:23 +0000
(06:59 +0300)
committer
Dmitry Dobryshin
<dimkainc@mail.ru>
Tue, 24 Nov 2020 03:59:23 +0000
(06:59 +0300)
tests/unit/models/TypesTest.php
patch
|
blob
|
history
diff --git
a/tests/unit/models/TypesTest.php
b/tests/unit/models/TypesTest.php
index
a69523e
..
e14b11d
100644
(file)
--- a/
tests/unit/models/TypesTest.php
+++ b/
tests/unit/models/TypesTest.php
@@
-46,6
+46,6
@@
class TypesTest extends \Codeception\Test\Unit
$count = count(Types::find()->where([ 'name' => $validName ])->all());
$this->assertGreaterThan(0, $count);
$this->assertEquals(1, $count);
- $this->tester->seeInDatabase('types', [ 'name' => $validName ]);
+# $this->tester->seeInDatabase('types', [ 'name' => $validName ]); // ищет в реальной базе данных, а не в тестовой.
}
}
\ No newline at end of file