diff --git a/tests/Feature/PacketTest.php b/tests/Feature/PacketTest.php index 2eb7a8e..d0ba9d3 100644 --- a/tests/Feature/PacketTest.php +++ b/tests/Feature/PacketTest.php @@ -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());