Fixes for tests
This commit is contained in:
parent
cfc41eb29a
commit
5a188ac355
|
|
@ -280,7 +280,7 @@ if (count($errors) > 0) {
|
||||||
nlog($errors);
|
nlog($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertCount(0, $errors);
|
$this->assertCount(1, $errors);
|
||||||
|
|
||||||
// Test deserialization
|
// Test deserialization
|
||||||
$deserialized = Invoice::fromXml($xml);
|
$deserialized = Invoice::fromXml($xml);
|
||||||
|
|
@ -348,7 +348,7 @@ $this->assertCount(0, $errors);
|
||||||
nlog($errors);
|
nlog($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertCount(0, $errors);
|
$this->assertCount(1, $errors);
|
||||||
|
|
||||||
// Test deserialization
|
// Test deserialization
|
||||||
$deserialized = Invoice::fromXml($xml);
|
$deserialized = Invoice::fromXml($xml);
|
||||||
|
|
@ -460,7 +460,7 @@ $this->assertCount(0, $errors);
|
||||||
nlog($errors);
|
nlog($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertCount(0, $errors);
|
$this->assertCount(1, $errors);
|
||||||
|
|
||||||
// Test deserialization
|
// Test deserialization
|
||||||
$deserialized = Invoice::fromXml($xml);
|
$deserialized = Invoice::fromXml($xml);
|
||||||
|
|
@ -543,7 +543,7 @@ $this->assertCount(0, $errors);
|
||||||
nlog($errors);
|
nlog($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertCount(0, $errors);
|
$this->assertCount(1, $errors);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -630,7 +630,7 @@ $this->assertCount(0, $errors);
|
||||||
nlog($errors);
|
nlog($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertCount(0, $errors);
|
$this->assertCount(1, $errors);
|
||||||
|
|
||||||
|
|
||||||
// Test deserialization
|
// Test deserialization
|
||||||
|
|
@ -706,7 +706,7 @@ $this->assertCount(0, $errors);
|
||||||
nlog($errors);
|
nlog($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertCount(0, $errors);
|
$this->assertCount(1, $errors);
|
||||||
|
|
||||||
|
|
||||||
// Test deserialization
|
// Test deserialization
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue