From ea6c0aab91a34f3696921fcbff038dc449b75eb6 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 30 Aug 2021 00:10:28 +1000 Subject: [PATCH] Fixes for CI testing --- tests/Feature/PacketTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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());