Enable duplicates to update seen-by's before being discarded

This commit is contained in:
Deon George
2021-11-24 22:34:40 +11:00
parent 02c23f047c
commit ebd1cf8732
6 changed files with 41 additions and 14 deletions

View File

@@ -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,FALSE);
$pkt = Packet::open($f,$this->so,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,FALSE);
$pkt = Packet::open($f,$this->so,FALSE);
$this->assertEquals(1,$pkt->count());