Skip to content

Commit

Permalink
Migrate to phpunit attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Apr 9, 2024
1 parent dc6eb7e commit ba3c925
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":1,"defects":[],"times":{"SPID\\XML\\saml\\IssuerTest::testMarshalling":0.008,"SPID\\XML\\saml\\IssuerTest::testUnmarshalling":0.001,"SPID\\XML\\saml\\IssuerTest::testUnmarshallingInvalidAttr":0,"SPID\\XML\\saml\\IssuerTest::testSerialization":0.001,"SimpleSAML\\Test\\SPID\\XML\\saml\\IssuerTest::testMarshalling":0.08,"SimpleSAML\\Test\\SPID\\XML\\saml\\IssuerTest::testUnmarshalling":0.002,"SimpleSAML\\Test\\SPID\\XML\\saml\\IssuerTest::testUnmarshallingInvalidAttr":0,"SimpleSAML\\Test\\SPID\\XML\\saml\\IssuerTest::testSerialization":0.001}}
{"version":1,"defects":[],"times":{"SPID\\XML\\saml\\IssuerTest::testMarshalling":0.008,"SPID\\XML\\saml\\IssuerTest::testUnmarshalling":0.001,"SPID\\XML\\saml\\IssuerTest::testUnmarshallingInvalidAttr":0,"SPID\\XML\\saml\\IssuerTest::testSerialization":0.001,"SimpleSAML\\Test\\SPID\\XML\\saml\\IssuerTest::testMarshalling":0.006,"SimpleSAML\\Test\\SPID\\XML\\saml\\IssuerTest::testUnmarshalling":0,"SimpleSAML\\Test\\SPID\\XML\\saml\\IssuerTest::testUnmarshallingInvalidAttr":0,"SimpleSAML\\Test\\SPID\\XML\\saml\\IssuerTest::testSerialization":0}}
5 changes: 4 additions & 1 deletion tests/SPID/XML/saml/IssuerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

namespace SimpleSAML\Test\SPID\XML\saml;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SAML2\Constants;
use SimpleSAML\SPID\XML\saml\Issuer;
Expand All @@ -15,8 +17,9 @@

/**
* Class \SimpleSAML\SPID\XML\saml\IssuerTest
* @covers \SimpleSAML\SPID\XML\saml\Issuer
*/
#[Group('SPID')]
#[CoversClass(Issuer::class)]
class IssuerTest extends TestCase
{
use SerializableElementTestTrait;
Expand Down

0 comments on commit ba3c925

Please sign in to comment.