-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fikser navngivning til snake_case på testene
- Loading branch information
Aleksander Aas Sjåfjell
committed
Oct 13, 2016
1 parent
46de980
commit 503949f
Showing
15 changed files
with
32 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,43 +48,43 @@ public PersonTests(PersonFixture fixture) | |
} | ||
|
||
[Fact] | ||
public void GetPidSuccess() | ||
public void Pid_success() | ||
{ | ||
Assert.Equal("08077000292", _fixture.Person.Personidentifikator); | ||
} | ||
|
||
[Fact] | ||
public void GetReservationAndStatusSuccess() | ||
public void Reservation_and_status_success() | ||
{ | ||
Assert.False(_fixture.Person.Reservasjon); | ||
Assert.Equal(Status.AKTIV, _fixture.Person.Status); | ||
} | ||
|
||
[Fact] | ||
public void GetMobileAndMetadataSuccess() | ||
public void Mobile_and_metadata_success() | ||
{ | ||
Assert.Equal("+4740485641", _fixture.Person.Kontaktinformasjon.Mobiltelefonnummer.Nummer); | ||
Assert.Equal(new DateTime(2015, 04, 14, 14, 35, 19), _fixture.Person.Kontaktinformasjon.Mobiltelefonnummer.SistOppdatert); | ||
Assert.Equal(new DateTime(2015, 04, 14, 14, 35, 19), _fixture.Person.Kontaktinformasjon.Mobiltelefonnummer.SistVerifisert); | ||
} | ||
|
||
[Fact] | ||
public void GetEmailAndMetadataSuccess() | ||
public void Email_and_metadata_success() | ||
{ | ||
Assert.Equal("[email protected]", _fixture.Person.Kontaktinformasjon.Epostadresse.Epost); | ||
Assert.Equal(new DateTime(2015, 04, 14, 14, 35, 30), _fixture.Person.Kontaktinformasjon.Epostadresse.SistOppdatert); | ||
Assert.Equal(new DateTime(2015, 04, 14, 14, 35, 30), _fixture.Person.Kontaktinformasjon.Epostadresse.SistVerifisert); | ||
} | ||
|
||
[Fact] | ||
public void GetSikkkerDigitalPostAddressSuccess() | ||
public void Sikker_digital_post_address_success() | ||
{ | ||
Assert.Equal("id.porten.testuser#2346", _fixture.Person.SikkerDigitalPostAdresse.Postkasseadresse); | ||
Assert.Equal("984661185", _fixture.Person.SikkerDigitalPostAdresse.PostkasseleverandørAdresse); | ||
} | ||
|
||
[Fact] | ||
public void GetSertificateSuccess() | ||
[Fact] | ||
public void Certificate_success() | ||
{ | ||
var expected = | ||
new X509Certificate2( | ||
|
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
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
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
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
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