Ejemplo n.º 1
0
 public function test_compile_blade()
 {
     $content = '{!! $id !!}';
     $data = ['id' => 2];
     $compiled = Helper::compileBlade($content, $data);
     $this->assertEquals(2, $compiled);
 }