tests/testthat/test_user.R

# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test User")

model.instance <- User$new()

test_that("id", {
  # tests for the property `id` (integer)

  # uncomment below to test the property
  #expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})

test_that("username", {
  # tests for the property `username` (character)

  # uncomment below to test the property
  #expect_equal(model.instance$`username`, "EXPECTED_RESULT")
})

test_that("firstName", {
  # tests for the property `firstName` (character)

  # uncomment below to test the property
  #expect_equal(model.instance$`firstName`, "EXPECTED_RESULT")
})

test_that("lastName", {
  # tests for the property `lastName` (character)

  # uncomment below to test the property
  #expect_equal(model.instance$`lastName`, "EXPECTED_RESULT")
})

test_that("email", {
  # tests for the property `email` (character)

  # uncomment below to test the property
  #expect_equal(model.instance$`email`, "EXPECTED_RESULT")
})

test_that("password", {
  # tests for the property `password` (character)

  # uncomment below to test the property
  #expect_equal(model.instance$`password`, "EXPECTED_RESULT")
})

test_that("phone", {
  # tests for the property `phone` (character)

  # uncomment below to test the property
  #expect_equal(model.instance$`phone`, "EXPECTED_RESULT")
})

test_that("userStatus", {
  # tests for the property `userStatus` (integer)
  # User Status

  # uncomment below to test the property
  #expect_equal(model.instance$`userStatus`, "EXPECTED_RESULT")
})
wing328/petstore-r-client documentation built on June 2, 2022, 10:24 a.m.