toenuff / flancy

A micro web framework for Windows PowerShell
MIT License
189 stars 21 forks source link

Tokendevel #21

Closed adamdriscoll closed 3 years ago

adamdriscoll commented 8 years ago

The tests were relying on each other to start flancy. I changed it to call New-Flancy in the tests and clean up in an AfterEach block. Seems to work without admin. Can you try on your box to make sure that fixes it?

toenuff commented 8 years ago

The example is broken if you uncomment the auth stuff. It now lets you create the /authenticate endpoint and that works, but when you use the token you get 401

toenuff commented 8 years ago

Just checked with latest change - still no good - goal is to put the example.ps1 stuff into the test, but if you get the example working, I'll finish up the tests.

adamdriscoll commented 8 years ago

Yeah that's weird. Looking...

adamdriscoll commented 8 years ago

IDK why but I can't see which lines you are commenting on.

adamdriscoll commented 8 years ago

Nevermind...

toenuff commented 8 years ago

Click the hash, it will bring you to the file and you'll see it inline

adamdriscoll commented 3 years ago

Wow. Maybe I should close this pull request.