mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
* Add API request to create org invitation * Add tests for create org invitation * Add IObservable API request to create org invitation * Add tests for IObservable create org invitation
15 lines
371 B
C#
15 lines
371 B
C#
using System;
|
|
|
|
namespace Octokit.Tests.Helpers
|
|
{
|
|
public static class RandomEmailGenerator
|
|
{
|
|
public static string GenerateRandomEmail()
|
|
{
|
|
var randomUsername = Guid.NewGuid().ToString();
|
|
var randomDomain = Guid.NewGuid().ToString();
|
|
|
|
return $"{randomUsername}@{randomDomain}.com";
|
|
}
|
|
}
|
|
} |