コード例 #1
0
 public function setUp()
 {
     parent::setUp();
     Terminal::truncate();
     Payment::truncate();
     $this->term = new Terminal();
     $this->term->id = 123;
     $this->term->secret = 'secret';
     $this->term->save();
 }
コード例 #2
0
 public function setUp()
 {
     parent::setUp();
     $this->mockTerminal();
     Payment::truncate();
 }