mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
refresh view in test
This commit is contained in:
parent
cd3126885b
commit
68f20ac903
1 changed files with 2 additions and 0 deletions
|
|
@ -77,6 +77,8 @@ class UserProviderTest extends TestCase {
|
||||||
'scout'
|
'scout'
|
||||||
));
|
));
|
||||||
|
|
||||||
|
$this->getDatabaseConnection()->query('REFRESH MATERIALIZED VIEW name_list');
|
||||||
|
|
||||||
$result = $this->provider->search('Icewind');
|
$result = $this->provider->search('Icewind');
|
||||||
$this->assertCount(1, $result);
|
$this->assertCount(1, $result);
|
||||||
$this->assertEquals($this->steamId->getSteamId64(), $result[0]->getSteamId());
|
$this->assertEquals($this->steamId->getSteamId64(), $result[0]->getSteamId());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue