Fixes for CI testing
This commit is contained in:
parent
9fb6d191d0
commit
ea6c0aab91
@ -18,7 +18,7 @@ class PacketTest extends TestCase
|
||||
System::unguard();
|
||||
Domain::unguard();
|
||||
$this->so = System::firstOrCreate(['name'=>'test','sysop'=>'sysop','location'=>'location','active'=>TRUE]);
|
||||
$this->do = Domain::firstOrCreate(['name'=>'test','active'=>TRUE]);
|
||||
$this->do = Domain::firstOrCreate(['name'=>'packets','active'=>TRUE]);
|
||||
}
|
||||
|
||||
public function test_nomsgid_origin()
|
||||
@ -34,7 +34,7 @@ class PacketTest extends TestCase
|
||||
|
||||
// This packet has an incorrect zone in the Origin
|
||||
$f = new File(__DIR__.'/data/test_nomsgid_origin.pkt');
|
||||
$pkt = Packet::open($f);
|
||||
$pkt = Packet::open($f,NULL,FALSE);
|
||||
|
||||
$this->assertEquals(1,$pkt->count());
|
||||
|
||||
@ -67,7 +67,7 @@ class PacketTest extends TestCase
|
||||
|
||||
// This packet has an incorrect zone in the Origin
|
||||
$f = new File(__DIR__.'/data/test_nomsgid_noorigin.pkt');
|
||||
$pkt = Packet::open($f,$zo,TRUE);
|
||||
$pkt = Packet::open($f,$zo,FALSE);
|
||||
|
||||
$this->assertEquals(1,$pkt->count());
|
||||
|
||||
@ -96,7 +96,7 @@ class PacketTest extends TestCase
|
||||
|
||||
// This packet has an incorrect zone in the Origin
|
||||
$f = new File(__DIR__.'/data/test_msgid_origin.pkt');
|
||||
$pkt = Packet::open($f,$zo,TRUE);
|
||||
$pkt = Packet::open($f,$zo,FALSE);
|
||||
|
||||
$this->assertEquals(1,$pkt->count());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user