Skip to content

Commit e7078ca

Browse files
committed
updated
1 parent 99cf745 commit e7078ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/ViewTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ public function testView1()
4545

4646
$service->renderOne('contact_us_id', 'contact_us');
4747
$service->render(['contact_us_id1'=> 'contact_us']);
48-
$this->assertEquals(null, $service::$collection);
48+
$data = $service::$collection;
49+
$this->assertEquals('contact_us',$data['contact_us_id']);
50+
$this->assertEquals('contact_us',$data['contact_us_id1']);
4951
}
5052

5153

0 commit comments

Comments
 (0)