-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating dependencies and refactoring ResponseFactoryTest and Seriali…
…zer/FactoryTest This commit updates the version numbers of several dependencies in composer.json and performs a significant refactoring of ResponseFactoryTest and Serializer/FactoryTest. The changes in ResponseFactoryTest include refactoring the test names and adding new test methods. At the same time, additional test methods were added and existing methods were revised. A new file, XmlDummy.php, is also created for testing purposes.
- Loading branch information
1 parent
b554572
commit 2576b43
Showing
4 changed files
with
241 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace Dropelikeit\LaravelJmsSerializer\Tests\ResponseFactory; | ||
|
||
use JMS\Serializer\Annotation\XmlAttribute; | ||
use JMS\Serializer\Annotation\XmlRoot; | ||
|
||
#[XmlRoot('XmlDummy')] | ||
final class XmlDummy | ||
{ | ||
#[XmlAttribute] | ||
private readonly string $title; | ||
|
||
public function __construct() | ||
{ | ||
$this->title = 'My test'; | ||
} | ||
} |
Oops, something went wrong.